|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmx4j.log.Logger
org.objectweb.speedo.jmx.MX4JLoggerMonolog
This class is a wrapper permiting to use Monolog as logging system, in MX4J.
Field Summary |
---|
Fields inherited from class mx4j.log.Logger |
---|
DEBUG, ERROR, FATAL, INFO, TRACE, WARN |
Constructor Summary | |
---|---|
MX4JLoggerMonolog()
Builds a MX4JLoggerMonolog instance. |
|
MX4JLoggerMonolog(org.objectweb.util.monolog.api.Logger lo)
Builds a MX4JLoggerMonolog with a particular inner Logger. |
Method Summary | |
---|---|
protected void |
log(int p,
java.lang.Object m,
java.lang.Throwable t)
Log the MX4J event into the inner monolog logger. |
protected void |
setCategory(java.lang.String name)
Assignes the name/topic of the logger. |
void |
setPriority(int p)
Assignes the priority/level on the logger. |
Methods inherited from class mx4j.log.Logger |
---|
debug, debug, error, error, fatal, fatal, getCategory, getPriority, info, info, isEnabledFor, trace, trace, warn, warn |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MX4JLoggerMonolog()
public MX4JLoggerMonolog(org.objectweb.util.monolog.api.Logger lo)
lo
- the inner loggerMethod Detail |
protected void setCategory(java.lang.String name)
public void setPriority(int p)
protected void log(int p, java.lang.Object m, java.lang.Throwable t)
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |