Package com.mchange.v2.log
Class MLevel
- java.lang.Object
-
- com.mchange.v2.log.MLevel
-
public final class MLevel extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
asJdk14Level()
static MLevel
fromIntValue(int intval)
static MLevel
fromSeverity(java.lang.String name)
java.lang.String
getLineHeader()
java.lang.String
getSeverity()
int
intValue()
boolean
isLoggable(MLevel filterLevel)
java.lang.String
toString()
-
-
-
Field Detail
-
ALL
public static final MLevel ALL
-
CONFIG
public static final MLevel CONFIG
-
FINE
public static final MLevel FINE
-
FINER
public static final MLevel FINER
-
FINEST
public static final MLevel FINEST
-
INFO
public static final MLevel INFO
-
OFF
public static final MLevel OFF
-
SEVERE
public static final MLevel SEVERE
-
WARNING
public static final MLevel WARNING
-
DEBUG
public static final MLevel DEBUG
-
TRACE
public static final MLevel TRACE
-
-
Method Detail
-
fromIntValue
public static MLevel fromIntValue(int intval)
-
fromSeverity
public static MLevel fromSeverity(java.lang.String name)
-
intValue
public int intValue()
-
asJdk14Level
public java.lang.Object asJdk14Level()
-
getSeverity
public java.lang.String getSeverity()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getLineHeader
public java.lang.String getLineHeader()
-
isLoggable
public boolean isLoggable(MLevel filterLevel)
-
-