org.stanwood.media.logging
Enum LogConfig

java.lang.Object
  extended by java.lang.Enum<LogConfig>
      extended by org.stanwood.media.logging.LogConfig
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<LogConfig>

public enum LogConfig
extends java.lang.Enum<LogConfig>

Logging options usable from the command line


Enum Constant Summary
DEBUG
          The debug log configuration
ERROR
          The error log configuration
ERROREX
          The error with exceptions log configuration
INFO
          The info log configuration
INFOEX
          The info with exceptions log configuration
NOINIT
          Don't change the logging settings
 
Method Summary
 java.lang.String getFilename()
          Get the log configuration filename
static LogConfig valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static LogConfig[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INFO

public static final LogConfig INFO
The info log configuration


INFOEX

public static final LogConfig INFOEX
The info with exceptions log configuration


ERROR

public static final LogConfig ERROR
The error log configuration


ERROREX

public static final LogConfig ERROREX
The error with exceptions log configuration


DEBUG

public static final LogConfig DEBUG
The debug log configuration


NOINIT

public static final LogConfig NOINIT
Don't change the logging settings

Method Detail

values

public static LogConfig[] 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 (LogConfig c : LogConfig.values())
    System.out.println(c);

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

valueOf

public static LogConfig valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getFilename

public java.lang.String getFilename()
Get the log configuration filename

Returns:
the log configuration filename