public static enum SimpleLogger.LogRotationType extends java.lang.Enum<SimpleLogger.LogRotationType>
Enum Constant and Description |
---|
DAILY
Daily log rotation.
|
SIZE
Max size log rotation.
|
Modifier and Type | Method and Description |
---|---|
static SimpleLogger.LogRotationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SimpleLogger.LogRotationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SimpleLogger.LogRotationType DAILY
public static final SimpleLogger.LogRotationType SIZE
public static SimpleLogger.LogRotationType[] values()
for (SimpleLogger.LogRotationType c : SimpleLogger.LogRotationType.values()) System.out.println(c);
public static SimpleLogger.LogRotationType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null