public class Log4JLogger extends Object implements org.mortbay.log.Logger
Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
logger |
Constructor and Description |
---|
Log4JLogger(org.apache.commons.logging.Log logger) |
Modifier and Type | Method and Description |
---|---|
void |
debug(String msg,
Object arg0,
Object arg1) |
void |
debug(String msg,
Throwable th) |
org.mortbay.log.Logger |
getLogger(String name) |
void |
info(String msg,
Object arg0,
Object arg1) |
boolean |
isDebugEnabled() |
void |
setDebugEnabled(boolean enabled) |
void |
warn(String msg,
Object arg0,
Object arg1) |
void |
warn(String msg,
Throwable th) |
protected final org.apache.commons.logging.Log logger
public Log4JLogger(org.apache.commons.logging.Log logger)
public void debug(String msg, Throwable th)
debug
in interface org.mortbay.log.Logger
public void debug(String msg, Object arg0, Object arg1)
debug
in interface org.mortbay.log.Logger
public org.mortbay.log.Logger getLogger(String name)
getLogger
in interface org.mortbay.log.Logger
public void info(String msg, Object arg0, Object arg1)
info
in interface org.mortbay.log.Logger
public boolean isDebugEnabled()
isDebugEnabled
in interface org.mortbay.log.Logger
public void setDebugEnabled(boolean enabled)
setDebugEnabled
in interface org.mortbay.log.Logger
public void warn(String msg, Throwable th)
warn
in interface org.mortbay.log.Logger
Copyright © 2015 Nuxeo SA. All rights reserved.