mx4j.log

Class Log4JLogger

public class Log4JLogger extends Logger

Log that redirects log calls to a Log4J Logger.

Version: $Revision: 1.7 $

See Also: org.apache.log4j.Logger at Apache's Log4J

Constructor Summary
Log4JLogger()
This constructor is called to create instances of this Logger, following the prototype pattern.
Method Summary
protected LevelconvertPriority(int mx4jPriority)
Converts MX4J priority to Log4J priority
protected voidlog(int priority, Object message, Throwable t)
protected voidsetCategory(String category)

Constructor Detail

Log4JLogger

public Log4JLogger()
This constructor is called to create instances of this Logger, following the prototype pattern.

Method Detail

convertPriority

protected Level convertPriority(int mx4jPriority)
Converts MX4J priority to Log4J priority

log

protected void log(int priority, Object message, Throwable t)

setCategory

protected void setCategory(String category)
Copyright © 2001-2005 The MX4J Contributors. All Rights Reserved.