org.objectweb.util.monolog.wrapper.log4jMini
Class LevelImpl

java.lang.Object
  extended byorg.objectweb.util.monolog.wrapper.common.LevelImpl
      extended byorg.objectweb.util.monolog.wrapper.log4jMini.LevelImpl
All Implemented Interfaces:
Level, java.io.Serializable

public class LevelImpl
extends LevelImpl

This extension of the common LevelImpl provides conversion method for the monolog levels to the log4j levels.

See Also:
Serialized Form

Constructor Summary
LevelImpl(java.lang.String name, int val)
           
LevelImpl(java.lang.String name, java.lang.String val, LevelFactory lf)
           
 
Method Summary
static org.apache.log4j.Priority convertLevel(Level l)
           
static Level getLevel(int value)
           
 
Methods inherited from class org.objectweb.util.monolog.wrapper.common.LevelImpl
compareTo, evaluate, getIntValue, getName, getStringValue, hashCode, isComparableWith, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LevelImpl

public LevelImpl(java.lang.String name,
                 int val)

LevelImpl

public LevelImpl(java.lang.String name,
                 java.lang.String val,
                 LevelFactory lf)
Method Detail

convertLevel

public static org.apache.log4j.Priority convertLevel(Level l)

getLevel

public static Level getLevel(int value)