debug
public void debug(Object message)
Log a message with debug log level.
- debug in interface Log
debug
public void debug(Object message,
Throwable exception)
Log a message and exception with debug log level.
- debug in interface Log
error
public void error(Object message)
Log a message with error log level.
- error in interface Log
error
public void error(Object message,
Throwable exception)
Log a message and exception with error log level.
- error in interface Log
fatal
public void fatal(Object message)
Log a message with fatal log level.
- fatal in interface Log
fatal
public void fatal(Object message,
Throwable exception)
Log a message and exception with fatal log level.
- fatal in interface Log
getClassAndMethod
private void getClassAndMethod()
Gets the class and method by looking at the stack trace for the
first entry that is not this class.
getLogger
public Logger getLogger()
Return the native Logger instance we are using.
info
public void info(Object message)
Log a message with info log level.
- info in interface Log
info
public void info(Object message,
Throwable exception)
Log a message and exception with info log level.
- info in interface Log
isDebugEnabled
public boolean isDebugEnabled()
Is debug logging currently enabled?
- isDebugEnabled in interface Log
isErrorEnabled
public boolean isErrorEnabled()
Is error logging currently enabled?
- isErrorEnabled in interface Log
isFatalEnabled
public boolean isFatalEnabled()
Is fatal logging currently enabled?
- isFatalEnabled in interface Log
isInfoEnabled
public boolean isInfoEnabled()
Is info logging currently enabled?
- isInfoEnabled in interface Log
isTraceEnabled
public boolean isTraceEnabled()
Is trace logging currently enabled?
- isTraceEnabled in interface Log
isWarnEnabled
public boolean isWarnEnabled()
Is warn logging currently enabled?
- isWarnEnabled in interface Log
log
private void log(Level level,
String msg,
Throwable ex)
trace
public void trace(Object message)
Log a message with trace log level.
- trace in interface Log
trace
public void trace(Object message,
Throwable exception)
Log a message and exception with trace log level.
- trace in interface Log
warn
public void warn(Object message)
Log a message with warn log level.
- warn in interface Log
warn
public void warn(Object message,
Throwable exception)
Log a message and exception with warn log level.
- warn in interface Log