public class Log4jLogger extends Object implements LoggerFacade
Modifier and Type | Field and Description |
---|---|
protected org.apache.log4j.Logger |
logger |
Constructor and Description |
---|
Log4jLogger(org.apache.log4j.Logger logger) |
Modifier and Type | Method and Description |
---|---|
LoggerFacade |
createLogger(String name) |
org.apache.log4j.Logger |
getLogger() |
boolean |
isFineEnabled() |
boolean |
isFinerEnabled() |
boolean |
isFinestEnabled() |
void |
logFine(String message) |
void |
logFiner(String message) |
void |
logFinest(String message) |
void |
logInfo(String message) |
void |
logSevere(String message) |
void |
logSevere(String message,
Throwable t) |
void |
logWarning(String message) |
void |
logWarning(String message,
Throwable t) |
protected org.apache.log4j.Logger logger
public Log4jLogger(org.apache.log4j.Logger logger)
public org.apache.log4j.Logger getLogger()
public LoggerFacade createLogger(String name)
createLogger
in interface LoggerFacade
public void logInfo(String message)
logInfo
in interface LoggerFacade
public void logFine(String message)
logFine
in interface LoggerFacade
public boolean isFineEnabled()
isFineEnabled
in interface LoggerFacade
public void logFiner(String message)
logFiner
in interface LoggerFacade
public boolean isFinerEnabled()
isFinerEnabled
in interface LoggerFacade
public void logFinest(String message)
logFinest
in interface LoggerFacade
public boolean isFinestEnabled()
isFinestEnabled
in interface LoggerFacade
public void logWarning(String message)
logWarning
in interface LoggerFacade
public void logWarning(String message, Throwable t)
logWarning
in interface LoggerFacade
public void logSevere(String message)
logSevere
in interface LoggerFacade
public void logSevere(String message, Throwable t)
logSevere
in interface LoggerFacade
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.