public enum SMFLogLevel extends Enum<SMFLogLevel>
| Enum Constant and Description |
|---|
LOG_DEBUG |
LOG_ERROR |
LOG_INFO |
LOG_TRACE |
LOG_WARN |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
String |
toString() |
static SMFLogLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SMFLogLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SMFLogLevel LOG_TRACE
Level.TRACEpublic static final SMFLogLevel LOG_DEBUG
Level.DEBUGpublic static final SMFLogLevel LOG_INFO
Level.INFOpublic static final SMFLogLevel LOG_WARN
Level.WARNpublic static final SMFLogLevel LOG_ERROR
Level.ERRORpublic static SMFLogLevel[] values()
for (SMFLogLevel c : SMFLogLevel.values()) System.out.println(c);
public static SMFLogLevel 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 toString()
toString in class Enum<SMFLogLevel>public String getName()
Copyright © 2017 <code@io7m.com> http://io7m.com