
@Generated(value="org.jomc.tools.SourceFileProcessor 1.5", comments="See http://www.jomc.org/jomc/1.5/jomc-tools-1.5") public final class Log4JLogger extends Object implements Logger, Listener
| Constructor and Description |
|---|
Log4JLogger()
Creates a new
Log4JLogger instance. |
| Modifier and Type | Method and Description |
|---|---|
void |
config(String string) |
void |
config(String message,
Throwable throwable) |
void |
config(Throwable throwable) |
void |
debug(String string) |
void |
debug(String message,
Throwable throwable) |
void |
debug(Throwable throwable) |
void |
error(String string) |
void |
error(String message,
Throwable throwable) |
void |
error(Throwable throwable) |
void |
fatal(String string) |
void |
fatal(String message,
Throwable throwable) |
void |
fatal(Throwable throwable) |
Logger |
getLogger()
Gets the Log4J logger backing the instance.
|
String |
getName()
Gets the value of the
<name> property. |
void |
info(String string) |
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 string) |
void |
trace(String message,
Throwable throwable) |
void |
trace(Throwable throwable) |
void |
warn(String string) |
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 Log4JLogger()
Log4JLogger instance.public boolean isConfigEnabled()
isConfigEnabled in interface Loggerpublic boolean isDebugEnabled()
isDebugEnabled in interface Loggerpublic boolean isErrorEnabled()
isErrorEnabled in interface Loggerpublic boolean isFatalEnabled()
isFatalEnabled in interface Loggerpublic boolean isInfoEnabled()
isInfoEnabled in interface Loggerpublic boolean isTraceEnabled()
isTraceEnabled in interface Loggerpublic boolean isWarnEnabled()
isWarnEnabled in interface Loggerpublic Logger getLogger()
getName(),
Logger.getLogger(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.