public class CommonsLoggingLogger extends Object implements Logger
Logger
implementation.
The name of the commons logger is specified by property name
.
Property name
defaults to org.jdtaus.runtime
.
Container
Constructor and Description |
---|
CommonsLoggingLogger()
Standard implementation constructor
org.jdtaus.core.logging.ri.commons.CommonsLoggingLogger . |
Modifier and Type | Method and Description |
---|---|
void |
debug(String message) |
void |
debug(Throwable throwable) |
void |
error(String message) |
void |
error(Throwable throwable) |
void |
fatal(String message) |
void |
fatal(Throwable throwable) |
Log |
getLogger()
Requests a commons logging logger for the name given by property
name . |
String |
getName()
Gets the value of property
name . |
void |
info(String message) |
void |
info(Throwable throwable) |
boolean |
isDebugEnabled() |
boolean |
isErrorEnabled() |
boolean |
isFatalEnabled() |
boolean |
isInfoEnabled() |
boolean |
isTraceEnabled() |
boolean |
isWarnEnabled() |
void |
trace(String message) |
void |
trace(Throwable throwable) |
void |
warn(String message) |
void |
warn(Throwable throwable) |
public CommonsLoggingLogger()
org.jdtaus.core.logging.ri.commons.CommonsLoggingLogger
.public Log getLogger()
name
.name
.public String getName()
name
.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
Copyright © 2005-2012 jDTAUS. All Rights Reserved.