public class StatisticLevel
extends org.apache.log4j.Level
| Modifier and Type | Field and Description |
|---|---|
static StatisticLevel |
STATISTIC |
| Modifier | Constructor and Description |
|---|---|
protected |
StatisticLevel(int level,
String levelStr,
int syslogEquivalent)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
static StatisticLevel |
toLevel(int val,
org.apache.log4j.Level defaultLevel)
Returns custom level for debug type log message
|
static StatisticLevel |
toLevel(String sArg,
org.apache.log4j.Level defaultLevel)
Returns custom level for debug type log message
|
public static final StatisticLevel STATISTIC
protected StatisticLevel(int level,
String levelStr,
int syslogEquivalent)
level - log levellevelStr - log level stringsyslogEquivalent - syslogEquivalentpublic static StatisticLevel toLevel(int val, org.apache.log4j.Level defaultLevel)
val - valuedefaultLevel - levelpublic static StatisticLevel toLevel(String sArg, org.apache.log4j.Level defaultLevel)
sArg - sArgdefaultLevel - levelCopyright © 2016–2019 The Apache Software Foundation. All rights reserved.