net.sf.jaxme.logging
Interface Logger

All Known Implementing Classes:
AntProjectLogger, JavaUtilLogger, Log4jLogger, LoggerImpl

public interface Logger

The Logger interface describes an object which is able to log a message.

Author:
Jochen Wiedmann

Method Summary
 void entering(java.lang.String pMethodName)
          Logs the message that a method is entered.
 void entering(java.lang.String pMethodName, java.lang.Object pDetails1)
          Logs the message that a method is entered.
 void entering(java.lang.String pMethodName, java.lang.Object[] pDetails)
          Logs the message that a method is entered.
 void error(java.lang.String pMethodName, java.lang.String pMsg)
          Logs the given message with error level.
 void error(java.lang.String pMethodName, java.lang.String pMsg, java.lang.Object pDetails)
          Logs the given message with error level.
 void error(java.lang.String pMethodName, java.lang.String pMsg, java.lang.Object[] pDetails)
          Logs the given message with error level.
 void exiting(java.lang.String pMethodName)
          Logs the message that a method is exiting.
 void exiting(java.lang.String pMethodName, java.lang.Object pDetails1)
          Logs the message that a method is exiting.
 void exiting(java.lang.String pMethodName, java.lang.Object[] pDetails)
          Logs the message that a method is exiting.
 void fine(java.lang.String pMethodName, java.lang.String pMsg)
          Logs the given message with fine level.
 void fine(java.lang.String pMethodName, java.lang.String pMsg, java.lang.Object pDetails)
          Logs the given message with fine level.
 void fine(java.lang.String pMethodName, java.lang.String pMsg, java.lang.Object[] pDetails)
          Logs the given message with fine level.
 void finer(java.lang.String pMethodName, java.lang.String pMsg)
          Logs the given message with finer level.
 void finer(java.lang.String pMethodName, java.lang.String pMsg, java.lang.Object pDetails)
          Logs the given message with finer level.
 void finer(java.lang.String pMethodName, java.lang.String pMsg, java.lang.Object[] pDetails)
          Logs the given message with finer level.
 void finest(java.lang.String pMethodName, java.lang.String pMsg)
          Logs the given message with finest level.
 void finest(java.lang.String pMethodName, java.lang.String pMsg, java.lang.Object pDetails)
          Logs the given message with finest level.
 void finest(java.lang.String pMethodName, java.lang.String pMsg, java.lang.Object[] pDetails)
          Logs the given message with finest level.
 void info(java.lang.String pMethodName, java.lang.String pMsg)
          Logs the given message with info level.
 void info(java.lang.String pMethodName, java.lang.String pMsg, java.lang.Object pDetails)
          Logs the given message with info level.
 void info(java.lang.String pMethodName, 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.
 void throwing(java.lang.String pMethodName, java.lang.Throwable pThrowable)
          Logs the given Throwable.
 void warn(java.lang.String pMethodName, java.lang.String pMsg)
          Logs the given message with warning level.
 void warn(java.lang.String pMethodName, java.lang.String pMsg, java.lang.Object pDetails)
          Logs the given message with warning level.
 void warn(java.lang.String pMethodName, java.lang.String pMsg, java.lang.Object[] pDetails)
          Logs the given message with warning level.
 

Method Detail

entering

public void entering(java.lang.String pMethodName,
                     java.lang.Object[] pDetails)

Logs the message that a method is entered.


entering

public void entering(java.lang.String pMethodName)

Logs the message that a method is entered.


entering

public void entering(java.lang.String pMethodName,
                     java.lang.Object pDetails1)

Logs the message that a method is entered.


exiting

public void exiting(java.lang.String pMethodName,
                    java.lang.Object[] pDetails)

Logs the message that a method is exiting.


exiting

public void exiting(java.lang.String pMethodName)

Logs the message that a method is exiting.


exiting

public void exiting(java.lang.String pMethodName,
                    java.lang.Object pDetails1)

Logs the message that a method is exiting.


throwing

public void throwing(java.lang.String pMethodName,
                     java.lang.Throwable pThrowable)

Logs the given Throwable.


isFinestEnabled

public boolean isFinestEnabled()

Returns whether finest logging is enabled.


finest

public void finest(java.lang.String pMethodName,
                   java.lang.String pMsg,
                   java.lang.Object[] pDetails)

Logs the given message with finest level.


finest

public void finest(java.lang.String pMethodName,
                   java.lang.String pMsg)

Logs the given message with finest level.


finest

public void finest(java.lang.String pMethodName,
                   java.lang.String pMsg,
                   java.lang.Object pDetails)

Logs the given message with finest level.


finer

public void finer(java.lang.String pMethodName,
                  java.lang.String pMsg,
                  java.lang.Object[] pDetails)

Logs the given message with finer level.


isFinerEnabled

public boolean isFinerEnabled()

Returns whether fine logging is enabled.


finer

public void finer(java.lang.String pMethodName,
                  java.lang.String pMsg)

Logs the given message with finer level.


finer

public void finer(java.lang.String pMethodName,
                  java.lang.String pMsg,
                  java.lang.Object pDetails)

Logs the given message with finer level.


isFineEnabled

public boolean isFineEnabled()

Returns whether fine logging is enabled.


fine

public void fine(java.lang.String pMethodName,
                 java.lang.String pMsg,
                 java.lang.Object[] pDetails)

Logs the given message with fine level.


fine

public void fine(java.lang.String pMethodName,
                 java.lang.String pMsg)

Logs the given message with fine level.


fine

public void fine(java.lang.String pMethodName,
                 java.lang.String pMsg,
                 java.lang.Object pDetails)

Logs the given message with fine level.


isInfoEnabled

public boolean isInfoEnabled()

Returns whether info logging is enabled.


info

public void info(java.lang.String pMethodName,
                 java.lang.String pMsg,
                 java.lang.Object[] pDetails)

Logs the given message with info level.


info

public void info(java.lang.String pMethodName,
                 java.lang.String pMsg)

Logs the given message with info level.


info

public void info(java.lang.String pMethodName,
                 java.lang.String pMsg,
                 java.lang.Object pDetails)

Logs the given message with info level.


isWarnEnabled

public boolean isWarnEnabled()

Returns whether warning logging is enabled.


warn

public void warn(java.lang.String pMethodName,
                 java.lang.String pMsg,
                 java.lang.Object[] pDetails)

Logs the given message with warning level.


warn

public void warn(java.lang.String pMethodName,
                 java.lang.String pMsg)

Logs the given message with warning level.


warn

public void warn(java.lang.String pMethodName,
                 java.lang.String pMsg,
                 java.lang.Object pDetails)

Logs the given message with warning level.


isErrorEnabled

public boolean isErrorEnabled()

Returns whether error logging is enabled.


error

public void error(java.lang.String pMethodName,
                  java.lang.String pMsg,
                  java.lang.Object[] pDetails)

Logs the given message with error level.


error

public void error(java.lang.String pMethodName,
                  java.lang.String pMsg)

Logs the given message with error level.


error

public void error(java.lang.String pMethodName,
                  java.lang.String pMsg,
                  java.lang.Object pDetails)

Logs the given message with error level.