org.objectweb.util.monolog.wrapper.log4j

Class LevelImpl

Implemented Interfaces:
Level, Serializable

public class LevelImpl
extends LevelImpl

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

Author:
S.chassande-Barrioz

Constructor Summary

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

Method Summary

static 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

Constructor Details

LevelImpl

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


LevelImpl

public LevelImpl(String name,
                 int val)

Method Details

convertLevel

public static Priority convertLevel(Level l)


getLevel

public static Level getLevel(int value)