Constructor and Description |
---|
DefaultLog() |
Modifier and Type | Method and Description |
---|---|
void |
debug(Object o)
Log a message object with the DEBUG level.
|
void |
debug(Object o,
Throwable throwable)
Log a message object with the DEBUG level including the stack trace of the Throwable.
|
void |
error(Object o)
Writes error message to err output stream.
|
void |
error(Object o,
Throwable throwable)
Writes error message to err output stream.
|
void |
fatal(Object o)
Writes error message to err output stream.
|
void |
fatal(Object o,
Throwable throwable)
Writes error message to err output stream.
|
void |
info(Object o)
Log a message object with the INFO level.
|
void |
info(Object o,
Throwable throwable)
Log a message object with the INFO level including the stack trace of the Throwable.
|
boolean |
isDebugEnabled()
Always returns false.
|
boolean |
isErrorEnabled()
Always returns true.
|
boolean |
isFatalEnabled()
Always returns true.
|
boolean |
isInfoEnabled()
Check whether this category is enabled for the INFO Level.
|
boolean |
isTraceEnabled()
Always returns false.
|
boolean |
isWarnEnabled()
Always returns true.
|
void |
trace(Object o)
Log a message object with the TRACE level.
|
void |
trace(Object o,
Throwable throwable)
Log a message object with the trace level including the stack trace of the Throwable.
|
void |
warn(Object o)
Writes error message to output stream.
|
void |
warn(Object o,
Throwable throwable)
Writes error message to output stream.
|
public boolean isDebugEnabled()
isDebugEnabled
in interface Log
Log.isDebugEnabled()
public void debug(Object o)
Log
debug
in interface Log
o
- the messageLog.debug(Object)
public void debug(Object o, Throwable throwable)
Log
debug
in interface Log
o
- the messagethrowable
- the errorLog.debug(Object, Throwable)
public boolean isErrorEnabled()
isErrorEnabled
in interface Log
Log.isErrorEnabled()
public void error(Object o)
error
in interface Log
o
- the messageLog.error(Object)
public void error(Object o, Throwable throwable)
error
in interface Log
o
- the messagethrowable
- the errorLog.error(Object, Throwable)
public boolean isFatalEnabled()
isFatalEnabled
in interface Log
Log.isFatalEnabled()
public void fatal(Object o)
fatal
in interface Log
o
- the messageLog.fatal(Object)
public void fatal(Object o, Throwable throwable)
fatal
in interface Log
o
- the messagethrowable
- the errorLog.fatal(Object, Throwable)
public boolean isInfoEnabled()
Log
isInfoEnabled
in interface Log
public void info(Object o)
Log
info
in interface Log
o
- the messageLog.info(Object)
public void info(Object o, Throwable throwable)
Log
info
in interface Log
o
- the messagethrowable
- the errorLog.info(Object, Throwable)
public boolean isTraceEnabled()
isTraceEnabled
in interface Log
Log.isTraceEnabled()
public void trace(Object o)
Log
trace
in interface Log
o
- the messageLog.trace(Object)
public void trace(Object o, Throwable throwable)
Log
trace
in interface Log
o
- the messagethrowable
- the errorLog.trace(Object, Throwable)
public boolean isWarnEnabled()
isWarnEnabled
in interface Log
Log.isWarnEnabled()
public void warn(Object o)
warn
in interface Log
o
- the messageLog.warn(Object)
public void warn(Object o, Throwable throwable)
warn
in interface Log
o
- the messagethrowable
- the errorLog.warn(Object, Throwable)
Copyright © 2000–2022 EPAM Systems. All rights reserved.