org.ala.client.appender
Class RestLevel
java.lang.Object
org.apache.log4j.Priority
org.apache.log4j.Level
org.ala.client.appender.RestLevel
- All Implemented Interfaces:
- java.io.Serializable
public class RestLevel
- extends org.apache.log4j.Level
Custom Level for Log4J (higher than FATAL level)
- Author:
- MOK011
- See Also:
- Serialized Form
| Fields inherited from class org.apache.log4j.Level |
ALL, DEBUG, ERROR, FATAL, INFO, OFF, TRACE, TRACE_INT, WARN |
| Fields inherited from class org.apache.log4j.Priority |
ALL_INT, DEBUG_INT, ERROR_INT, FATAL_INT, INFO_INT, OFF_INT, WARN_INT |
|
Constructor Summary |
RestLevel(int level,
java.lang.String levelStr,
int syslogEquivalent)
Constructor |
|
Method Summary |
static RestLevel |
toLevel(int val,
org.apache.log4j.Level defaultLevel)
|
static RestLevel |
toLevel(java.lang.String sArg,
org.apache.log4j.Level defaultLevel)
|
| Methods inherited from class org.apache.log4j.Level |
toLevel, toLevel |
| Methods inherited from class org.apache.log4j.Priority |
equals, getAllPossiblePriorities, getSyslogEquivalent, isGreaterOrEqual, toInt, toPriority, toPriority, toPriority, toPriority, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
REMOTE
public static final RestLevel REMOTE
RestLevel
public RestLevel(int level,
java.lang.String levelStr,
int syslogEquivalent)
- Constructor
- Parameters:
level - levelStr - syslogEquivalent -
toLevel
public static RestLevel toLevel(int val,
org.apache.log4j.Level defaultLevel)
- See Also:
Level.toLevel(int, org.apache.log4j.Level)
toLevel
public static RestLevel toLevel(java.lang.String sArg,
org.apache.log4j.Level defaultLevel)
- See Also:
Level.toLevel(java.lang.String, org.apache.log4j.Level)
Copyright © 2014 ALA. All Rights Reserved.