com.ibm.streams.operator.log4j

Class TraceLevel

  • java.lang.Object
    • org.apache.log4j.Priority
      • org.apache.log4j.Level
        • com.ibm.streams.operator.log4j.TraceLevel
  • All Implemented Interfaces:
    java.io.Serializable


    public class TraceLevel
    extends org.apache.log4j.Level
    Convenience class to provide SPL trace levels through the org.apache.log4j facility.
    The SPL trace levels in descending order are:
    When a message is logged to the SPL trace facility its org.apache.log4j.Level is mapped to the SPL trace level as follows:
    SPL trace level mapping
    SPL Trace Leveljava.util.logging.Level
    errorLevel.FATAL
    Level.ERROR
    ERROR
    warnLevel.WARN
    WARN
    infoLevel.INFO
    INFO
    debugLevel.DEBUG
    DEBUG
    traceLevel.TRACE
    TRACE
    Since:
    InfoSphere® Streams Version 3.0
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static TraceLevel DEBUG
      DEBUG is a message level for debug level tracing information including method entry, exit, and return values.
      static TraceLevel ERROR
      ERROR is a level indicating the operator cannot continue.
      static java.lang.String IBM_COPYRIGHT 
      static TraceLevel INFO
      INFO is level indicating general information outlining overall operator progress.
      static TraceLevel TRACE
      TRACE is a level for more detailed trace that includes all the detail that is needed to debug problems.
      static TraceLevel WARN
      WARN is a level indicating a potential error or impending error.
      • Fields inherited from class org.apache.log4j.Level

        ALL, FATAL, OFF, TRACE_INT
      • Fields inherited from class org.apache.log4j.Priority

        ALL_INT, DEBUG_INT, ERROR_INT, FATAL_INT, INFO_INT, OFF_INT, WARN_INT
    • Method Summary

      • Methods inherited from class org.apache.log4j.Level

        toLevel, toLevel, 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
    • Field Detail

      • ERROR

        public static TraceLevel ERROR
        ERROR is a level indicating the operator cannot continue. All internal or unexpected failures should be traced at this level. This level is equal to Level.ERROR.
      • WARN

        public static TraceLevel WARN
        WARN is a level indicating a potential error or impending error. This level can also indicate a progressive failure (for example, the potential leaking of resources). This level and is equal to Level.WARN.
      • INFO

        public static TraceLevel INFO
        INFO is level indicating general information outlining overall operator progress. Information that helps to give context to a trace, often when an operator is being initialized, handling allPortsReady() or being shutdown. This level is equal to Level.INFO.
      • DEBUG

        public static TraceLevel DEBUG
        DEBUG is a message level for debug level tracing information including method entry, exit, and return values. This level is equal to Level.DEBUG.
      • TRACE

        public static TraceLevel TRACE
        TRACE is a level for more detailed trace that includes all the detail that is needed to debug problems. This level is equal to Level.TRACE.