public class Log4JLogger extends Logger
at Apache's Log4J
Constructor and Description |
---|
Log4JLogger()
This constructor is called to create instances of this Logger, following the prototype pattern.
|
Modifier and Type | Method and Description |
---|---|
protected Level |
convertPriority(int mx4jPriority)
Converts MX4J priority to Log4J priority
|
protected void |
log(int priority,
java.lang.Object message,
java.lang.Throwable t) |
protected void |
setCategory(java.lang.String category) |
debug, debug, error, error, fatal, fatal, getCategory, getPriority, info, info, isEnabledFor, setPriority, trace, trace, warn, warn
public Log4JLogger()
protected void setCategory(java.lang.String category)
setCategory
in class Logger
protected void log(int priority, java.lang.Object message, java.lang.Throwable t)
protected Level convertPriority(int mx4jPriority)