org.objectweb.util.monolog.wrapper.javaLog
Class LevelImpl
java.lang.Object
org.objectweb.util.monolog.wrapper.common.LevelImpl
org.objectweb.util.monolog.wrapper.javaLog.LevelImpl
- All Implemented Interfaces:
- java.io.Serializable, Level
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
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 java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
LevelImpl
public LevelImpl(java.lang.String n,
int val)
LevelImpl
public LevelImpl(java.lang.String n,
java.lang.String val,
LevelFactory lf)
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