public interface Log
Modifier and Type | Method and Description |
---|---|
void |
debug(java.lang.String msg) |
void |
debug(java.lang.String msg,
java.lang.Object... args) |
void |
debug(java.lang.String msg,
java.lang.Throwable throwable) |
void |
error(java.lang.String msg) |
void |
error(java.lang.String format,
java.lang.Object... args) |
void |
error(java.lang.String msg,
java.lang.Throwable throwable) |
void |
fatal(java.lang.String msg) |
void |
fatal(java.lang.String msg,
java.lang.Object... args) |
void |
fatal(java.lang.String msg,
java.lang.Throwable throwable) |
java.lang.String |
getLevel() |
void |
info(java.lang.String msg) |
void |
info(java.lang.String msg,
java.lang.Object... args) |
boolean |
isDebugEnabled() |
boolean |
isErrorEnabled() |
boolean |
isFatalEnabled() |
boolean |
isInfoEnabled() |
boolean |
isTraceEnabled() |
boolean |
isWarnEnabled() |
void |
setLevel(java.lang.String level)
Sets the level of a logger.
|
void |
trace(java.lang.Object msg) |
void |
trace(java.lang.String msg) |
void |
trace(java.lang.String msg,
java.lang.Object... args) |
void |
trace(java.lang.String msg,
java.lang.Throwable throwable) |
void |
warn(java.lang.String msg) |
void |
warn(java.lang.String msg,
java.lang.Object... args) |
void |
warn(java.lang.String msg,
java.lang.Throwable throwable) |
boolean isFatalEnabled()
boolean isErrorEnabled()
boolean isWarnEnabled()
boolean isInfoEnabled()
boolean isDebugEnabled()
boolean isTraceEnabled()
void fatal(java.lang.String msg)
void fatal(java.lang.String msg, java.lang.Object... args)
void fatal(java.lang.String msg, java.lang.Throwable throwable)
void error(java.lang.String msg)
void error(java.lang.String format, java.lang.Object... args)
void error(java.lang.String msg, java.lang.Throwable throwable)
void warn(java.lang.String msg)
void warn(java.lang.String msg, java.lang.Object... args)
void warn(java.lang.String msg, java.lang.Throwable throwable)
void info(java.lang.String msg)
void info(java.lang.String msg, java.lang.Object... args)
void debug(java.lang.String msg)
void debug(java.lang.String msg, java.lang.Object... args)
void debug(java.lang.String msg, java.lang.Throwable throwable)
void trace(java.lang.Object msg)
void trace(java.lang.String msg)
void trace(java.lang.String msg, java.lang.Object... args)
void trace(java.lang.String msg, java.lang.Throwable throwable)
void setLevel(java.lang.String level)
level
- The new level. Valid values are "fatal", "error", "warn", "info", "debug", "trace"
(capitalization not relevant)java.lang.String getLevel()
Copyright © 1998-2020 Red Hat. All Rights Reserved.