org.apache.ws.jaxme.logging

Interface Logger

Known Implementing Classes:
AntProjectLogger, JavaUtilLogger, Log4jLogger, LoggerImpl, PrintStreamLogger, PrintWriterLogger

public interface Logger

The Logger interface describes an object which is able to log a message.
Author:
Jochen Wiedmann

Method Summary

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

Method Details

entering

public void entering(String pMethodName)
Logs the message that a method is entered.

entering

public void entering(String pMethodName,
                     Object pDetails1)
Logs the message that a method is entered.

entering

public void entering(String pMethodName,
                     Object[] pDetails)
Logs the message that a method is entered.

error

public void error(String pMethodName,
                  String pMsg)
Logs the given message with error level.

error

public void error(String pMethodName,
                  String pMsg,
                  Object pDetails)
Logs the given message with error level.

error

public void error(String pMethodName,
                  String pMsg,
                  Object[] pDetails)
Logs the given message with error level.

exiting

public void exiting(String pMethodName)
Logs the message that a method is exiting.

exiting

public void exiting(String pMethodName,
                    Object pDetails1)
Logs the message that a method is exiting.

exiting

public void exiting(String pMethodName,
                    Object[] pDetails)
Logs the message that a method is exiting.

fine

public void fine(String pMethodName,
                 String pMsg)
Logs the given message with fine level.

fine

public void fine(String pMethodName,
                 String pMsg,
                 Object pDetails)
Logs the given message with fine level.

fine

public void fine(String pMethodName,
                 String pMsg,
                 Object[] pDetails)
Logs the given message with fine level.

finer

public void finer(String pMethodName,
                  String pMsg)
Logs the given message with finer level.

finer

public void finer(String pMethodName,
                  String pMsg,
                  Object pDetails)
Logs the given message with finer level.

finer

public void finer(String pMethodName,
                  String pMsg,
                  Object[] pDetails)
Logs the given message with finer level.

finest

public void finest(String pMethodName,
                   String pMsg)
Logs the given message with finest level.

finest

public void finest(String pMethodName,
                   String pMsg,
                   Object pDetails)
Logs the given message with finest level.

finest

public void finest(String pMethodName,
                   String pMsg,
                   Object[] pDetails)
Logs the given message with finest level.

info

public void info(String pMethodName,
                 String pMsg)
Logs the given message with info level.

info

public void info(String pMethodName,
                 String pMsg,
                 Object pDetails)
Logs the given message with info level.

info

public void info(String pMethodName,
                 String pMsg,
                 Object[] pDetails)
Logs the given message with info level.

isErrorEnabled

public boolean isErrorEnabled()
Returns whether error logging is enabled.

isFineEnabled

public boolean isFineEnabled()
Returns whether fine logging is enabled.

isFinerEnabled

public boolean isFinerEnabled()
Returns whether fine logging is enabled.

isFinestEnabled

public boolean isFinestEnabled()
Returns whether finest logging is enabled.

isInfoEnabled

public boolean isInfoEnabled()
Returns whether info logging is enabled.

isWarnEnabled

public boolean isWarnEnabled()
Returns whether warning logging is enabled.

throwing

public void throwing(String pMethodName,
                     Throwable pThrowable)
Logs the given Throwable.

warn

public void warn(String pMethodName,
                 String pMsg)
Logs the given message with warning level.

warn

public void warn(String pMethodName,
                 String pMsg,
                 Object pDetails)
Logs the given message with warning level.

warn

public void warn(String pMethodName,
                 String pMsg,
                 Object[] pDetails)
Logs the given message with warning level.