com.cisco.oss.foundation.logging
Enum FoundationLoggerConstants

java.lang.Object
  extended by java.lang.Enum<FoundationLoggerConstants>
      extended by com.cisco.oss.foundation.logging.FoundationLoggerConstants
All Implemented Interfaces:
Serializable, Comparable<FoundationLoggerConstants>

public enum FoundationLoggerConstants
extends Enum<FoundationLoggerConstants>

Author:
Yair Ogen

Enum Constant Summary
ALL_VALUES
           
APPSTATE_ENABLED
           
CAT_TERM
          the category term MDC key
DEFAULT_AUDIT_PATTERN
           
DEFAULT_CONV_PATTERN
          the default pattern if user did not override it in the log configuration file.
DEFAULT_DATE_PATTERN
          the default date pattern for the date that will be put in the file name when rolling occurs.
DEFAULT_FILE_SIZE
          The appender default max file size before rolling occurs.
Foundation_ASYNC_BUFFER_SIZE
           
Foundation_ASYNC_REF
           
Foundation_FILE_ARCHIVE
           
Foundation_JUL_APPENDER_REF
           
Foundation_JUL_SUPPORT_ENABLED
           
Foundation_MAX_FILE_SIZE
          100MB = 100 *1024 * 1024
Foundation_ROLL_ON_STARTUP
           
GZIP
           
TRANSACTION_NAME
           
ZIP
           
 
Method Summary
 String toString()
           
static FoundationLoggerConstants valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FoundationLoggerConstants[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CAT_TERM

public static final FoundationLoggerConstants CAT_TERM
the category term MDC key


APPSTATE_ENABLED

public static final FoundationLoggerConstants APPSTATE_ENABLED

GZIP

public static final FoundationLoggerConstants GZIP

ZIP

public static final FoundationLoggerConstants ZIP

Foundation_MAX_FILE_SIZE

public static final FoundationLoggerConstants Foundation_MAX_FILE_SIZE
100MB = 100 *1024 * 1024


DEFAULT_DATE_PATTERN

public static final FoundationLoggerConstants DEFAULT_DATE_PATTERN
the default date pattern for the date that will be put in the file name when rolling occurs.


DEFAULT_CONV_PATTERN

public static final FoundationLoggerConstants DEFAULT_CONV_PATTERN
the default pattern if user did not override it in the log configuration file.


DEFAULT_AUDIT_PATTERN

public static final FoundationLoggerConstants DEFAULT_AUDIT_PATTERN

DEFAULT_FILE_SIZE

public static final FoundationLoggerConstants DEFAULT_FILE_SIZE
The appender default max file size before rolling occurs. 10MB = 10 *1024 *1024


Foundation_FILE_ARCHIVE

public static final FoundationLoggerConstants Foundation_FILE_ARCHIVE

Foundation_ASYNC_REF

public static final FoundationLoggerConstants Foundation_ASYNC_REF

Foundation_ASYNC_BUFFER_SIZE

public static final FoundationLoggerConstants Foundation_ASYNC_BUFFER_SIZE

Foundation_JUL_SUPPORT_ENABLED

public static final FoundationLoggerConstants Foundation_JUL_SUPPORT_ENABLED

Foundation_JUL_APPENDER_REF

public static final FoundationLoggerConstants Foundation_JUL_APPENDER_REF

TRANSACTION_NAME

public static final FoundationLoggerConstants TRANSACTION_NAME

ALL_VALUES

public static final FoundationLoggerConstants ALL_VALUES

Foundation_ROLL_ON_STARTUP

public static final FoundationLoggerConstants Foundation_ROLL_ON_STARTUP
Method Detail

values

public static FoundationLoggerConstants[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (FoundationLoggerConstants c : FoundationLoggerConstants.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static FoundationLoggerConstants valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

toString

public String toString()
Overrides:
toString in class Enum<FoundationLoggerConstants>


Copyright © 2014 Cisco. All Rights Reserved.