| org.objectweb.speedo.jmx.MX4JLoggerMonolog
MX4JLoggerMonolog | public class MX4JLoggerMonolog extends mx4j.log.Logger (Code) | | This class is a wrapper permiting to use Monolog as logging system, in MX4J.
author: S.Chassande-Barrioz |
Field Summary | |
Logger | logger The inner monolog Logger. |
Constructor Summary | |
public | MX4JLoggerMonolog() Builds a MX4JLoggerMonolog instance. | public | MX4JLoggerMonolog(Logger lo) Builds a MX4JLoggerMonolog with a particular inner Logger. |
Method Summary | |
protected void | log(int p, Object m, Throwable t) Log the MX4J event into the inner monolog logger. | protected void | setCategory(String name) Assignes the name/topic of the logger. | public void | setPriority(int p) Assignes the priority/level on the logger. |
logger | Logger logger(Code) | | The inner monolog Logger.
|
MX4JLoggerMonolog | public MX4JLoggerMonolog()(Code) | | Builds a MX4JLoggerMonolog instance. MX4J requires an empty constructor.
|
MX4JLoggerMonolog | public MX4JLoggerMonolog(Logger lo)(Code) | | Builds a MX4JLoggerMonolog with a particular inner Logger.
Parameters: lo - the inner logger |
log | protected void log(int p, Object m, Throwable t)(Code) | | Log the MX4J event into the inner monolog logger.
|
setCategory | protected void setCategory(String name)(Code) | | Assignes the name/topic of the logger. The inner logger is allocated at
this time.
|
setPriority | public void setPriority(int p)(Code) | | Assignes the priority/level on the logger.
|
|
|