Modifier and Type | Field and Description |
---|---|
protected java.util.logging.Logger |
logger |
Constructor and Description |
---|
JDKLogImpl(java.lang.Class category) |
JDKLogImpl(java.lang.String category) |
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 t) |
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 t) |
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 t) |
protected java.lang.String |
format(java.lang.String format,
java.lang.Object... args) |
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.
|
protected static java.util.logging.Level |
strToLevel(java.lang.String level) |
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 t) |
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 t) |
public JDKLogImpl(java.lang.String category)
public JDKLogImpl(java.lang.Class category)
public boolean isTraceEnabled()
isTraceEnabled
in interface Log
public boolean isDebugEnabled()
isDebugEnabled
in interface Log
public boolean isInfoEnabled()
isInfoEnabled
in interface Log
public boolean isWarnEnabled()
isWarnEnabled
in interface Log
public boolean isErrorEnabled()
isErrorEnabled
in interface Log
public boolean isFatalEnabled()
isFatalEnabled
in interface Log
public void trace(java.lang.String msg, java.lang.Object... args)
public void trace(java.lang.String msg, java.lang.Throwable t)
public void debug(java.lang.String msg, java.lang.Object... args)
public void debug(java.lang.String msg, java.lang.Throwable t)
public void info(java.lang.String msg, java.lang.Object... args)
public void warn(java.lang.String msg, java.lang.Object... args)
public void warn(java.lang.String msg, java.lang.Throwable t)
public void error(java.lang.String format, java.lang.Object... args)
public void error(java.lang.String msg, java.lang.Throwable t)
public void fatal(java.lang.String msg, java.lang.Object... args)
public void fatal(java.lang.String msg, java.lang.Throwable t)
public void setLevel(java.lang.String level)
Log
protected java.lang.String format(java.lang.String format, java.lang.Object... args)
protected static java.util.logging.Level strToLevel(java.lang.String level)
Copyright © 1998-2020 Red Hat. All Rights Reserved.