org.eclipse.tigerstripe.plugins
Enum PluginLog.LogLevel
java.lang.Object
java.lang.Enum<PluginLog.LogLevel>
org.eclipse.tigerstripe.plugins.PluginLog.LogLevel
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<PluginLog.LogLevel>
- Enclosing class:
- PluginLog
public static enum PluginLog.LogLevel
- extends java.lang.Enum<PluginLog.LogLevel>
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
ERROR
public static final PluginLog.LogLevel ERROR
WARNING
public static final PluginLog.LogLevel WARNING
INFO
public static final PluginLog.LogLevel INFO
DEBUG
public static final PluginLog.LogLevel DEBUG
TRACE
public static final PluginLog.LogLevel TRACE
values
public static PluginLog.LogLevel[] 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 (PluginLog.LogLevel c : PluginLog.LogLevel.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static PluginLog.LogLevel 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
toInt
public int toInt()
fromInt
public static PluginLog.LogLevel fromInt(int i)
toLog4j
public org.apache.log4j.Level toLog4j()