@Generated(value="org.jomc.tools.SourceFileProcessor 1.5", comments="See http://www.jomc.org/jomc/1.5/jomc-tools-1.5") public final class CommonsLogger extends Object implements Logger, Listener
Constructor and Description |
---|
CommonsLogger()
Creates a new
CommonsLogger instance. |
Modifier and Type | Method and Description |
---|---|
void |
config(String message) |
void |
config(String message,
Throwable throwable) |
void |
config(Throwable throwable) |
void |
debug(String message) |
void |
debug(String message,
Throwable throwable) |
void |
debug(Throwable throwable) |
void |
error(String message) |
void |
error(String message,
Throwable throwable) |
void |
error(Throwable throwable) |
void |
fatal(String message) |
void |
fatal(String message,
Throwable throwable) |
void |
fatal(Throwable throwable) |
Log |
getLogger()
Gets the commons logging logger backing the instance.
|
String |
getName()
Gets the value of the
<name> property. |
void |
info(String message) |
void |
info(String message,
Throwable throwable) |
void |
info(Throwable throwable) |
boolean |
isConfigEnabled() |
boolean |
isDebugEnabled() |
boolean |
isErrorEnabled() |
boolean |
isFatalEnabled() |
boolean |
isInfoEnabled() |
boolean |
isTraceEnabled() |
boolean |
isWarnEnabled() |
void |
onLog(Level level,
String message,
Throwable throwable) |
void |
trace(String message) |
void |
trace(String message,
Throwable throwable) |
void |
trace(Throwable throwable) |
void |
warn(String message) |
void |
warn(String message,
Throwable throwable) |
void |
warn(Throwable throwable) |
@Generated(value="org.jomc.tools.SourceFileProcessor 1.5", comments="See http://www.jomc.org/jomc/1.5/jomc-tools-1.5") public CommonsLogger()
CommonsLogger
instance.public boolean isConfigEnabled()
isConfigEnabled
in interface Logger
public boolean isDebugEnabled()
isDebugEnabled
in interface Logger
public boolean isErrorEnabled()
isErrorEnabled
in interface Logger
public boolean isFatalEnabled()
isFatalEnabled
in interface Logger
public boolean isInfoEnabled()
isInfoEnabled
in interface Logger
public boolean isTraceEnabled()
isTraceEnabled
in interface Logger
public boolean isWarnEnabled()
isWarnEnabled
in interface Logger
public Log getLogger()
getName()
,
LogFactory.getLog(java.lang.String)
@Generated(value="org.jomc.tools.SourceFileProcessor 1.5", comments="See http://www.jomc.org/jomc/1.5/jomc-tools-1.5") public String getName()
<name>
property.
ObjectManagementException
- if getting the property instance fails.Copyright © 2005–2013 The JOMC Project. All rights reserved.