org.objectweb.util.monolog.wrapper.javaLog

Class LevelImpl

Implemented Interfaces:
Level, 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

Constructor Summary

LevelImpl(String n, String val, LevelFactory lf)
LevelImpl(String n, int val)

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

Constructor Details

LevelImpl

public LevelImpl(String n,
                 String val,
                 LevelFactory lf)


LevelImpl

public LevelImpl(String n,
                 int val)

Method Details

convertLevel

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


getLevel

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


int2Level

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