org.broadleafcommerce.common.logging
Class SupportLevel

java.lang.Object
  extended by org.apache.log4j.Priority
      extended by org.apache.log4j.Level
          extended by org.broadleafcommerce.common.logging.SupportLevel
All Implemented Interfaces:
Serializable

public class SupportLevel
extends org.apache.log4j.Level

Extend Log4J standard level implementation to add support for the SUPPORT log level. This level is used in support logging in modules.

Author:
Jeff Fischer
See Also:
Serialized Form

Field Summary
static org.apache.log4j.Level SUPPORT
           
static int SUPPORT_INT
           
 
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
SupportLevel(int level, String levelStr, int syslogEquivalent)
           
 
Method Summary
static org.apache.log4j.Level toLevel(int val)
           
static org.apache.log4j.Level toLevel(int val, org.apache.log4j.Level defaultLevel)
           
static org.apache.log4j.Level toLevel(String sArg)
           
static org.apache.log4j.Level toLevel(String sArg, org.apache.log4j.Level defaultLevel)
           
 
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

SUPPORT_INT

public static final int SUPPORT_INT
See Also:
Constant Field Values

SUPPORT

public static final org.apache.log4j.Level SUPPORT
Constructor Detail

SupportLevel

public SupportLevel(int level,
                    String levelStr,
                    int syslogEquivalent)
Method Detail

toLevel

public static org.apache.log4j.Level toLevel(String sArg)

toLevel

public static org.apache.log4j.Level toLevel(int val)

toLevel

public static org.apache.log4j.Level toLevel(int val,
                                             org.apache.log4j.Level defaultLevel)

toLevel

public static org.apache.log4j.Level toLevel(String sArg,
                                             org.apache.log4j.Level defaultLevel)


Copyright © 2013. All Rights Reserved.