Class PlatformLevel
java.lang.Object
org.apache.log4j.Priority
org.apache.log4j.Level
com.onenetwork.platform.tools.log.PlatformLevel
- All Implemented Interfaces:
java.io.Serializable
public class PlatformLevel
extends org.apache.log4j.Level
Introduces three new log levels beyond the log4j defaults:
DEBUG_SQL
, DEBUG_MEDIUM
and DEBUG_DETAILED
.
DEBUG_SQL is higher priority than DEBUG. DEBUG_MEDIUM and DEBUG_DETAILED are lower priority than DEBUG.- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description static PlatformLevel
DEBUG_DETAILED
Debug level for detail-level tracing - has much lower priority than DEBUGstatic PlatformLevel
DEBUG_MEDIUM
Debug level for medium-level tracing - has slightly lower priority than DEBUGstatic PlatformLevel
DEBUG_SQL
Debug level for SQL statements and bindings - has slightly higher priority than DEBUG -
Constructor Summary
Constructors Modifier Constructor Description protected
PlatformLevel(int level, java.lang.String strLevel, int syslogEquiv)
Deprecated.not intended for use by clients - use static constants -
Method Summary
Modifier and Type Method Description static org.apache.log4j.Level
toLevel(java.lang.String sArg)
-
Field Details
-
DEBUG_SQL
Debug level for SQL statements and bindings - has slightly higher priority than DEBUG -
DEBUG_MEDIUM
Debug level for medium-level tracing - has slightly lower priority than DEBUG -
DEBUG_DETAILED
Debug level for detail-level tracing - has much lower priority than DEBUG
-
-
Constructor Details
-
PlatformLevel
protected PlatformLevel(int level, java.lang.String strLevel, int syslogEquiv)Deprecated.not intended for use by clients - use static constants
-
-
Method Details
-
toLevel
public static org.apache.log4j.Level toLevel(java.lang.String sArg)- See Also:
Level.toLevel(java.lang.String)
-