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

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

public class LevelImpl
extends LevelImpl

Is an implementation of the Monolog Level interface based on the common LevelImpl class. It defines static method to convert a monolog level to java.util.logging.Level .

Author:
S.Chassande-Barrioz
See Also:
Serialized Form

Constructor Summary
LevelImpl(java.lang.String n, int val)
           
LevelImpl(java.lang.String n, java.lang.String val, LevelFactory lf)
           
 
Method Summary
static java.util.logging.Level convertLevel(Level l)
          Level => java.util.logging.Level
static Level getLevel(int value)
          int => org.objectweb.util.monolog.api.Level
static java.util.logging.Level int2Level(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 n,
                 int val)

LevelImpl

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

convertLevel

public static java.util.logging.Level convertLevel(Level l)
Level => java.util.logging.Level


int2Level

public static java.util.logging.Level int2Level(int value)

getLevel

public static Level getLevel(int value)
int => org.objectweb.util.monolog.api.Level