Interface ULogger
- All Known Implementing Classes:
Log4JULogger, NOPULogger, SimpleULogger
-
Method Summary
Modifier and TypeMethodDescriptionvoidLog a message object with the DEBUG level.voidLog a parameterized message object at the DEBUG level.voidLog a message object with theDEBUGlevel including the stack trace of theThrowabletpassed as parameter.voidLog a parameterized message object at the DEBUG level.voidLog a message object with the ERROR level.voidLog a parameterized message object at the ERROR level.voidLog a message object with theERRORlevel including the stack trace of theThrowabletpassed as parameter.voidLog a parameterized message object at the ERROR level.voidLog a message object with the INFO level.voidLog a parameterized message object at the INFO level.voidLog a message object with theINFOlevel including the stack trace of theThrowabletpassed as parameter.voidLog a parameterized message object at the INFO level.booleanIs the logger instance enabled for the DEBUG level?booleanIs the logger instance enabled for the ERROR level?booleanIs the logger instance enabled for the INFO level?booleanIs the logger instance enabled for the WARN level?voidLog a message object with the WARN level.voidLog a parameterized message object at the WARN level.voidLog a message object with theWARNlevel including the stack trace of theThrowabletpassed as parameter.voidLog a parameterized message object at the WARN level.
-
Method Details
-
isDebugEnabled
boolean isDebugEnabled()Is the logger instance enabled for the DEBUG level?- Returns:
- true if debug is enabled.
-
debug
Log a message object with the DEBUG level.- Parameters:
msg- - the message object to be logged
-
debug
Log a parameterized message object at the DEBUG level.This form is useful in avoiding the superflous object creation problem when invoking this method while it is disabled.
- Parameters:
parameterizedMsg- - the parameterized message objectparam1- - the parameter
-
debug
Log a parameterized message object at the DEBUG level.This form is useful in avoiding the superflous object creation problem when invoking this method while it is disabled.
- Parameters:
parameterizedMsg- - the parameterized message objectparam1- - the first parameterparam2- - the second parameter
-
debug
-
isInfoEnabled
boolean isInfoEnabled()Is the logger instance enabled for the INFO level?- Returns:
- true if debug is enabled.
-
info
Log a message object with the INFO level.- Parameters:
msg- - the message object to be logged
-
info
Log a parameterized message object at the INFO level.This form is useful in avoiding the superflous object creation problem when invoking this method while it is disabled.
- Parameters:
parameterizedMsg- - the parameterized message objectparam1- - the parameter
-
info
Log a parameterized message object at the INFO level.This form is useful in avoiding the superflous object creation problem when invoking this method while it is disabled.
- Parameters:
parameterizedMsg- - the parameterized message objectparam1- - the first parameterparam2- - the second parameter
-
info
-
isWarnEnabled
boolean isWarnEnabled()Is the logger instance enabled for the WARN level?- Returns:
- true if debug is enabled.
-
warn
Log a message object with the WARN level.- Parameters:
msg- - the message object to be logged
-
warn
Log a parameterized message object at the WARN level.This form is useful in avoiding the superflous object creation problem when invoking this method while it is disabled.
- Parameters:
parameterizedMsg- - the parameterized message objectparam1- - the parameter
-
warn
Log a parameterized message object at the WARN level.This form is useful in avoiding the superflous object creation problem when invoking this method while it is disabled.
- Parameters:
parameterizedMsg- - the parameterized message objectparam1- - the first parameterparam2- - the second parameter
-
warn
-
isErrorEnabled
boolean isErrorEnabled()Is the logger instance enabled for the ERROR level?- Returns:
- true if debug is enabled.
-
error
Log a message object with the ERROR level.- Parameters:
msg- - the message object to be logged
-
error
Log a parameterized message object at the ERROR level.This form is useful in avoiding the superflous object creation problem when invoking this method while it is disabled.
- Parameters:
parameterizedMsg- - the parameterized message objectparam1- - the parameter
-
error
Log a parameterized message object at the ERROR level.This form is useful in avoiding the superflous object creation problem when invoking this method while it is disabled.
- Parameters:
parameterizedMsg- - the parameterized message objectparam1- - the first parameterparam2- - the second parameter
-
error
-