Package org.apache.commons.jcs3.log
Class JulLogAdapter
java.lang.Object
org.apache.commons.jcs3.log.JulLogAdapter
- All Implemented Interfaces:
- Log
This is a wrapper around the 
java.util.logging.Logger implementing our own
 Log interface.
 This is the mapping of the log levels
Java Level Log Level SEVERE FATAL SEVERE ERROR WARNING WARN INFO INFO FINE DEBUG FINER TRACE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidLogs a message object with the DEBUG level.voidLogs a message object with the DEBUG level.voidLogs a message with parameters at the DEBUG level.voidLogs a message at the DEBUG level including the stack trace of theThrowabletpassed as parameter.voidLogs a message with parameters which are only to be constructed if the logging level is the DEBUG level.voidLogs a message object with the ERROR level.voidLogs a message object with the ERROR level.voidLogs a message with parameters at the ERROR level.voidLogs a message at the ERROR level including the stack trace of theThrowabletpassed as parameter.voidLogs a message with parameters which are only to be constructed if the logging level is the ERROR level.voidLogs a message object with the FATAL level.voidLogs a message object with the FATAL level.voidLogs a message with parameters at the FATAL level.voidLogs a message at the FATAL level including the stack trace of theThrowabletpassed as parameter.voidLogs a message with parameters which are only to be constructed if the logging level is the FATAL level.getName()Gets the logger name.voidLogs a message object with the INFO level.voidLogs a message object with the INFO level.voidLogs a message with parameters at the INFO level.voidLogs a message at the INFO level including the stack trace of theThrowabletpassed as parameter.voidLogs a message with parameters which are only to be constructed if the logging level is the INFO level.booleanChecks whether this Logger is enabled for the DEBUG Level.booleanChecks whether this Logger is enabled for the ERROR Level.booleanChecks whether this Logger is enabled for the FATAL Level.booleanChecks whether this Logger is enabled for the INFO Level.booleanChecks whether this Logger is enabled for the TRACE level.booleanChecks whether this Logger is enabled for the WARN Level.voidLogs a message object with the TRACE level.voidLogs a message object with the TRACE level.voidLogs a message with parameters at the TRACE level.voidLogs a message at the TRACE level including the stack trace of theThrowabletpassed as parameter.voidLogs a message with parameters which are only to be constructed if the logging level is the TRACE level.voidLogs a message object with the WARN level.voidLogs a message object with the WARN level.voidLogs a message with parameters at the WARN level.voidLogs a message at the WARN level including the stack trace of theThrowabletpassed as parameter.voidLogs a message with parameters which are only to be constructed if the logging level is the WARN level.
- 
Constructor Details- 
JulLogAdapterConstruct a JUL Logger wrapper- Parameters:
- logger- the JUL Logger
 
 
- 
- 
Method Details- 
debugLogs a message object with the DEBUG level.
- 
debugLogs a message object with the DEBUG level.
- 
debugLogs a message with parameters at the DEBUG level.
- 
debugLogs a message with parameters which are only to be constructed if the logging level is the DEBUG level.
- 
debugLogs a message at the DEBUG level including the stack trace of theThrowabletpassed as parameter.
- 
errorLogs a message object with the ERROR level.
- 
errorLogs a message object with the ERROR level.
- 
errorLogs a message with parameters at the ERROR level.
- 
errorLogs a message with parameters which are only to be constructed if the logging level is the ERROR level.
- 
errorLogs a message at the ERROR level including the stack trace of theThrowabletpassed as parameter.
- 
fatalLogs a message object with the FATAL level.
- 
fatalLogs a message object with the FATAL level.
- 
fatalLogs a message with parameters at the FATAL level.
- 
fatalLogs a message with parameters which are only to be constructed if the logging level is the FATAL level.
- 
fatalLogs a message at the FATAL level including the stack trace of theThrowabletpassed as parameter.
- 
getNameGets the logger name.
- 
infoLogs a message object with the INFO level.
- 
infoLogs a message object with the INFO level.
- 
infoLogs a message with parameters at the INFO level.
- 
infoLogs a message with parameters which are only to be constructed if the logging level is the INFO level.
- 
infoLogs a message at the INFO level including the stack trace of theThrowabletpassed as parameter.
- 
isDebugEnabledChecks whether this Logger is enabled for the DEBUG Level.- Specified by:
- isDebugEnabledin interface- Log
- Returns:
- boolean - trueif this Logger is enabled for level DEBUG,falseotherwise.
 
- 
isErrorEnabledChecks whether this Logger is enabled for the ERROR Level.- Specified by:
- isErrorEnabledin interface- Log
- Returns:
- boolean - trueif this Logger is enabled for level ERROR,falseotherwise.
 
- 
isFatalEnabledChecks whether this Logger is enabled for the FATAL Level.- Specified by:
- isFatalEnabledin interface- Log
- Returns:
- boolean - trueif this Logger is enabled for level FATAL,falseotherwise.
 
- 
isInfoEnabledChecks whether this Logger is enabled for the INFO Level.- Specified by:
- isInfoEnabledin interface- Log
- Returns:
- boolean - trueif this Logger is enabled for level INFO,falseotherwise.
 
- 
isTraceEnabledChecks whether this Logger is enabled for the TRACE level.- Specified by:
- isTraceEnabledin interface- Log
- Returns:
- boolean - trueif this Logger is enabled for level TRACE,falseotherwise.
 
- 
isWarnEnabledChecks whether this Logger is enabled for the WARN Level.- Specified by:
- isWarnEnabledin interface- Log
- Returns:
- boolean - trueif this Logger is enabled for level WARN,falseotherwise.
 
- 
traceLogs a message object with the TRACE level.
- 
traceLogs a message object with the TRACE level.
- 
traceLogs a message with parameters at the TRACE level.
- 
traceLogs a message with parameters which are only to be constructed if the logging level is the TRACE level.
- 
traceLogs a message at the TRACE level including the stack trace of theThrowabletpassed as parameter.
- 
warnLogs a message object with the WARN level.
- 
warnLogs a message object with the WARN level.
- 
warnLogs a message with parameters at the WARN level.
- 
warnLogs a message with parameters which are only to be constructed if the logging level is the WARN level.
- 
warnLogs a message at the WARN level including the stack trace of theThrowabletpassed as parameter.
 
-