net.sf.jaxme.logging
Class AntProjectLogger

java.lang.Object
  extended bynet.sf.jaxme.logging.AntProjectLogger
All Implemented Interfaces:
Logger

public class AntProjectLogger
extends java.lang.Object
implements Logger

Author:
Jochen Wiedmann

Constructor Summary
AntProjectLogger(java.lang.String pName, org.apache.tools.ant.Project pProject)
           
AntProjectLogger(java.lang.String pName, org.apache.tools.ant.Task pTask)
           
 
Method Summary
protected  java.lang.String asString(java.lang.Object[] pDetails)
           
 void entering(java.lang.String mName)
          Logs the message that a method is entered.
 void entering(java.lang.String mName, java.lang.Object pDetails)
          Logs the message that a method is entered.
 void entering(java.lang.String mName, java.lang.Object[] pDetails)
          Logs the message that a method is entered.
 void error(java.lang.String mName, java.lang.String pMsg)
          Logs the given message with error level.
 void error(java.lang.String mName, java.lang.String pMsg, java.lang.Object pDetails)
          Logs the given message with error level.
 void error(java.lang.String mName, java.lang.String pMsg, java.lang.Object[] pDetails)
          Logs the given message with error level.
 void exiting(java.lang.String mName)
          Logs the message that a method is exiting.
 void exiting(java.lang.String mName, java.lang.Object pDetails)
          Logs the message that a method is exiting.
 void exiting(java.lang.String mName, java.lang.Object[] pDetails)
          Logs the message that a method is exiting.
 void fine(java.lang.String mName, java.lang.String pMsg)
          Logs the given message with fine level.
 void fine(java.lang.String mName, java.lang.String pMsg, java.lang.Object pDetails)
          Logs the given message with fine level.
 void fine(java.lang.String mName, java.lang.String pMsg, java.lang.Object[] pDetails)
          Logs the given message with fine level.
 void finer(java.lang.String mName, java.lang.String pMsg)
          Logs the given message with finer level.
 void finer(java.lang.String mName, java.lang.String pMsg, java.lang.Object pDetails)
          Logs the given message with finer level.
 void finer(java.lang.String mName, java.lang.String pMsg, java.lang.Object[] pDetails)
          Logs the given message with finer level.
 void finest(java.lang.String mName, java.lang.String pMsg)
          Logs the given message with finest level.
 void finest(java.lang.String mName, java.lang.String pMsg, java.lang.Object pDetails)
          Logs the given message with finest level.
 void finest(java.lang.String mName, java.lang.String pMsg, java.lang.Object[] pDetails)
          Logs the given message with finest level.
 void info(java.lang.String mName, java.lang.String pMsg)
          Logs the given message with info level.
 void info(java.lang.String mName, java.lang.String pMsg, java.lang.Object pDetails)
          Logs the given message with info level.
 void info(java.lang.String mName, java.lang.String pMsg, java.lang.Object[] pDetails)
          Logs the given message with info level.
 boolean isErrorEnabled()
          Returns whether error logging is enabled.
 boolean isFineEnabled()
          Returns whether fine logging is enabled.
 boolean isFinerEnabled()
          Returns whether fine logging is enabled.
 boolean isFinestEnabled()
          Returns whether finest logging is enabled.
 boolean isInfoEnabled()
          Returns whether info logging is enabled.
 boolean isWarnEnabled()
          Returns whether warning logging is enabled.
protected  void log(int pLevel, java.lang.String mName, java.lang.String pMsg)
           
 void throwing(java.lang.String mName, java.lang.Throwable pThrowable)
          Logs the given Throwable.
 void warn(java.lang.String mName, java.lang.String pMsg)
          Logs the given message with warning level.
 void warn(java.lang.String mName, java.lang.String pMsg, java.lang.Object pDetails)
          Logs the given message with warning level.
 void warn(java.lang.String mName, java.lang.String pMsg, java.lang.Object[] pDetails)
          Logs the given message with warning level.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AntProjectLogger

public AntProjectLogger(java.lang.String pName,
                        org.apache.tools.ant.Project pProject)

AntProjectLogger

public AntProjectLogger(java.lang.String pName,
                        org.apache.tools.ant.Task pTask)
Method Detail

isFinestEnabled

public boolean isFinestEnabled()
Description copied from interface: Logger

Returns whether finest logging is enabled.

Specified by:
isFinestEnabled in interface Logger

isFinerEnabled

public boolean isFinerEnabled()
Description copied from interface: Logger

Returns whether fine logging is enabled.

Specified by:
isFinerEnabled in interface Logger

isFineEnabled

public boolean isFineEnabled()
Description copied from interface: Logger

Returns whether fine logging is enabled.

Specified by:
isFineEnabled in interface Logger

isInfoEnabled

public boolean isInfoEnabled()
Description copied from interface: Logger

Returns whether info logging is enabled.

Specified by:
isInfoEnabled in interface Logger

isWarnEnabled

public boolean isWarnEnabled()
Description copied from interface: Logger

Returns whether warning logging is enabled.

Specified by:
isWarnEnabled in interface Logger

isErrorEnabled

public boolean isErrorEnabled()
Description copied from interface: Logger

Returns whether error logging is enabled.

Specified by:
isErrorEnabled in interface Logger

asString

protected java.lang.String asString(java.lang.Object[] pDetails)

log

protected void log(int pLevel,
                   java.lang.String mName,
                   java.lang.String pMsg)

entering

public void entering(java.lang.String mName,
                     java.lang.Object[] pDetails)
Description copied from interface: Logger

Logs the message that a method is entered.

Specified by:
entering in interface Logger

entering

public void entering(java.lang.String mName)
Description copied from interface: Logger

Logs the message that a method is entered.

Specified by:
entering in interface Logger

entering

public void entering(java.lang.String mName,
                     java.lang.Object pDetails)
Description copied from interface: Logger

Logs the message that a method is entered.

Specified by:
entering in interface Logger

exiting

public void exiting(java.lang.String mName,
                    java.lang.Object[] pDetails)
Description copied from interface: Logger

Logs the message that a method is exiting.

Specified by:
exiting in interface Logger

exiting

public void exiting(java.lang.String mName)
Description copied from interface: Logger

Logs the message that a method is exiting.

Specified by:
exiting in interface Logger

exiting

public void exiting(java.lang.String mName,
                    java.lang.Object pDetails)
Description copied from interface: Logger

Logs the message that a method is exiting.

Specified by:
exiting in interface Logger

throwing

public void throwing(java.lang.String mName,
                     java.lang.Throwable pThrowable)
Description copied from interface: Logger

Logs the given Throwable.

Specified by:
throwing in interface Logger

finest

public void finest(java.lang.String mName,
                   java.lang.String pMsg,
                   java.lang.Object[] pDetails)
Description copied from interface: Logger

Logs the given message with finest level.

Specified by:
finest in interface Logger

finest

public void finest(java.lang.String mName,
                   java.lang.String pMsg)
Description copied from interface: Logger

Logs the given message with finest level.

Specified by:
finest in interface Logger

finest

public void finest(java.lang.String mName,
                   java.lang.String pMsg,
                   java.lang.Object pDetails)
Description copied from interface: Logger

Logs the given message with finest level.

Specified by:
finest in interface Logger

finer

public void finer(java.lang.String mName,
                  java.lang.String pMsg,
                  java.lang.Object[] pDetails)
Description copied from interface: Logger

Logs the given message with finer level.

Specified by:
finer in interface Logger

finer

public void finer(java.lang.String mName,
                  java.lang.String pMsg)
Description copied from interface: Logger

Logs the given message with finer level.

Specified by:
finer in interface Logger

finer

public void finer(java.lang.String mName,
                  java.lang.String pMsg,
                  java.lang.Object pDetails)
Description copied from interface: Logger

Logs the given message with finer level.

Specified by:
finer in interface Logger

fine

public void fine(java.lang.String mName,
                 java.lang.String pMsg,
                 java.lang.Object[] pDetails)
Description copied from interface: Logger

Logs the given message with fine level.

Specified by:
fine in interface Logger

fine

public void fine(java.lang.String mName,
                 java.lang.String pMsg)
Description copied from interface: Logger

Logs the given message with fine level.

Specified by:
fine in interface Logger

fine

public void fine(java.lang.String mName,
                 java.lang.String pMsg,
                 java.lang.Object pDetails)
Description copied from interface: Logger

Logs the given message with fine level.

Specified by:
fine in interface Logger

info

public void info(java.lang.String mName,
                 java.lang.String pMsg,
                 java.lang.Object[] pDetails)
Description copied from interface: Logger

Logs the given message with info level.

Specified by:
info in interface Logger

info

public void info(java.lang.String mName,
                 java.lang.String pMsg)
Description copied from interface: Logger

Logs the given message with info level.

Specified by:
info in interface Logger

info

public void info(java.lang.String mName,
                 java.lang.String pMsg,
                 java.lang.Object pDetails)
Description copied from interface: Logger

Logs the given message with info level.

Specified by:
info in interface Logger

warn

public void warn(java.lang.String mName,
                 java.lang.String pMsg,
                 java.lang.Object[] pDetails)
Description copied from interface: Logger

Logs the given message with warning level.

Specified by:
warn in interface Logger

warn

public void warn(java.lang.String mName,
                 java.lang.String pMsg)
Description copied from interface: Logger

Logs the given message with warning level.

Specified by:
warn in interface Logger

warn

public void warn(java.lang.String mName,
                 java.lang.String pMsg,
                 java.lang.Object pDetails)
Description copied from interface: Logger

Logs the given message with warning level.

Specified by:
warn in interface Logger

error

public void error(java.lang.String mName,
                  java.lang.String pMsg,
                  java.lang.Object[] pDetails)
Description copied from interface: Logger

Logs the given message with error level.

Specified by:
error in interface Logger

error

public void error(java.lang.String mName,
                  java.lang.String pMsg)
Description copied from interface: Logger

Logs the given message with error level.

Specified by:
error in interface Logger

error

public void error(java.lang.String mName,
                  java.lang.String pMsg,
                  java.lang.Object pDetails)
Description copied from interface: Logger

Logs the given message with error level.

Specified by:
error in interface Logger