|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.juli.logging.Slf4jLog
public class Slf4jLog
Method Summary | |
---|---|
void |
debug(java.lang.Object message)
Log a message with debug log level. |
void |
debug(java.lang.Object message,
java.lang.Throwable t)
Log an error with debug log level. |
void |
error(java.lang.Object message)
Log a message with error log level. |
void |
error(java.lang.Object message,
java.lang.Throwable t)
Log an error with error log level. |
void |
fatal(java.lang.Object message)
Log a message with fatal log level. |
void |
fatal(java.lang.Object message,
java.lang.Throwable t)
Log an error with fatal log level. |
void |
info(java.lang.Object message)
Log a message with info log level. |
void |
info(java.lang.Object message,
java.lang.Throwable t)
Log an error with info log level. |
boolean |
isDebugEnabled()
Is debug logging currently enabled? |
boolean |
isErrorEnabled()
Is error logging currently enabled? |
boolean |
isFatalEnabled()
Is fatal logging currently enabled? |
boolean |
isInfoEnabled()
Is info logging currently enabled? |
boolean |
isTraceEnabled()
Is trace logging currently enabled? |
boolean |
isWarnEnabled()
Is warn logging currently enabled? |
void |
trace(java.lang.Object message)
Log a message with trace log level. |
void |
trace(java.lang.Object message,
java.lang.Throwable t)
Log an error with trace log level. |
void |
warn(java.lang.Object message)
Log a message with warn log level. |
void |
warn(java.lang.Object message,
java.lang.Throwable t)
Log an error with warn log level. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void debug(java.lang.Object message, java.lang.Throwable t)
Log
Log an error with debug log level.
debug
in interface Log
message
- log this messaget
- log this causepublic void debug(java.lang.Object message)
Log
Log a message with debug log level.
debug
in interface Log
message
- log this messagepublic void error(java.lang.Object message, java.lang.Throwable t)
Log
Log an error with error log level.
error
in interface Log
message
- log this messaget
- log this causepublic void error(java.lang.Object message)
Log
Log a message with error log level.
error
in interface Log
message
- log this messagepublic void fatal(java.lang.Object message, java.lang.Throwable t)
Log
Log an error with fatal log level.
fatal
in interface Log
message
- log this messaget
- log this causepublic void fatal(java.lang.Object message)
Log
Log a message with fatal log level.
fatal
in interface Log
message
- log this messagepublic void info(java.lang.Object message, java.lang.Throwable t)
Log
Log an error with info log level.
info
in interface Log
message
- log this messaget
- log this causepublic void info(java.lang.Object message)
Log
Log a message with info log level.
info
in interface Log
message
- log this messagepublic boolean isDebugEnabled()
Log
Is debug logging currently enabled?
Call this method to prevent having to perform expensive operations
(for example, String
concatenation)
when the log level is more than debug.
isDebugEnabled
in interface Log
public boolean isErrorEnabled()
Log
Is error logging currently enabled?
Call this method to prevent having to perform expensive operations
(for example, String
concatenation)
when the log level is more than error.
isErrorEnabled
in interface Log
public boolean isFatalEnabled()
Log
Is fatal logging currently enabled?
Call this method to prevent having to perform expensive operations
(for example, String
concatenation)
when the log level is more than fatal.
isFatalEnabled
in interface Log
public boolean isInfoEnabled()
Log
Is info logging currently enabled?
Call this method to prevent having to perform expensive operations
(for example, String
concatenation)
when the log level is more than info.
isInfoEnabled
in interface Log
public boolean isTraceEnabled()
Log
Is trace logging currently enabled?
Call this method to prevent having to perform expensive operations
(for example, String
concatenation)
when the log level is more than trace.
isTraceEnabled
in interface Log
public boolean isWarnEnabled()
Log
Is warn logging currently enabled?
Call this method to prevent having to perform expensive operations
(for example, String
concatenation)
when the log level is more than warn.
isWarnEnabled
in interface Log
public void trace(java.lang.Object message, java.lang.Throwable t)
Log
Log an error with trace log level.
trace
in interface Log
message
- log this messaget
- log this causepublic void trace(java.lang.Object message)
Log
Log a message with trace log level.
trace
in interface Log
message
- log this messagepublic void warn(java.lang.Object message, java.lang.Throwable t)
Log
Log an error with warn log level.
warn
in interface Log
message
- log this messaget
- log this causepublic void warn(java.lang.Object message)
Log
Log a message with warn log level.
warn
in interface Log
message
- log this message
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |