Constructor and Description |
---|
JDKLogImpl(Class category) |
JDKLogImpl(String category) |
Modifier and Type | Method and Description |
---|---|
void |
debug(String msg) |
void |
debug(String msg,
Object... args) |
void |
debug(String msg,
Throwable t) |
void |
error(String msg) |
void |
error(String format,
Object... args) |
void |
error(String msg,
Throwable t) |
void |
fatal(String msg) |
void |
fatal(String msg,
Object... args) |
void |
fatal(String msg,
Throwable t) |
protected String |
format(String format,
Object... args) |
String |
getLevel() |
void |
info(String msg) |
void |
info(String msg,
Object... args) |
boolean |
isDebugEnabled() |
boolean |
isErrorEnabled() |
boolean |
isFatalEnabled() |
boolean |
isInfoEnabled() |
boolean |
isTraceEnabled() |
boolean |
isWarnEnabled() |
void |
setLevel(String level)
Sets the level of a logger.
|
protected static Level |
strToLevel(String level) |
void |
trace(Object msg) |
void |
trace(String msg) |
void |
trace(String msg,
Object... args) |
void |
trace(String msg,
Throwable t) |
void |
warn(String msg) |
void |
warn(String msg,
Object... args) |
void |
warn(String msg,
Throwable t) |
protected final Logger logger
public JDKLogImpl(String category)
public JDKLogImpl(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 setLevel(String level)
Log
Copyright © 2024 JBoss, a division of Red Hat. All rights reserved.