de.cesr.lara.components.util.logging.impl
Class LAgentLevel
java.lang.Object
Level
de.cesr.lara.components.util.logging.impl.LAgentLevel
public class LAgentLevel
- extends Level
Custom Log4j Level that is supposed to be used for agent loggers (see
Doc_AgentLogging.doc). By adjusting the priority it is possible to decide for
which logging configuration agent loggers are instantiated.
Constructor Summary |
protected |
LAgentLevel(int level,
String levelStr,
int syslogEquivalent)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AGENT
public static final LAgentLevel AGENT
- An Log4J level used for agent loggers.
LAgentLevel
protected LAgentLevel(int level,
String levelStr,
int syslogEquivalent)
- Parameters:
level
- levelStr
- syslogEquivalent
-
toLevel
public static LAgentLevel toLevel(int val,
Level defaultLevel)
toLevel
public static LAgentLevel toLevel(String sArg,
Level defaultLevel)