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 DEBUG
    static PlatformLevel DEBUG_MEDIUM
    Debug level for medium-level tracing - has slightly lower priority than DEBUG
    static PlatformLevel DEBUG_SQL
    Debug level for SQL statements and bindings - has slightly higher priority than DEBUG

    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

    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)  

    Methods inherited from class org.apache.log4j.Level

    readResolve, toLevel, toLevel, toLevel

    Methods inherited from class org.apache.log4j.Priority

    equals, getAllPossiblePriorities, getSyslogEquivalent, hashCode, isGreaterOrEqual, toInt, toPriority, toPriority, toPriority, toPriority, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • DEBUG_SQL

      public static final PlatformLevel DEBUG_SQL
      Debug level for SQL statements and bindings - has slightly higher priority than DEBUG
    • DEBUG_MEDIUM

      public static final PlatformLevel DEBUG_MEDIUM
      Debug level for medium-level tracing - has slightly lower priority than DEBUG
    • DEBUG_DETAILED

      public static final PlatformLevel 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)