public enum LogHandlerType extends Enum<LogHandlerType>
| Enum Constant and Description |
|---|
CONSOLE |
PERIODIC_ROTATING_FILE |
| Modifier and Type | Method and Description |
|---|---|
String |
value() |
static LogHandlerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LogHandlerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogHandlerType CONSOLE
public static final LogHandlerType PERIODIC_ROTATING_FILE
public static LogHandlerType[] values()
for (LogHandlerType c : LogHandlerType.values()) System.out.println(c);
public static LogHandlerType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
Copyright © 2022. All rights reserved.