public static enum SimpleLogger.ConsoleLevel extends Enum<SimpleLogger.ConsoleLevel>
Enum Constant and Description |
---|
DEV
developer level logs displayed in console
|
OFF
user and developer logs not displayed in console
|
USER
user level logs displayed in console
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static SimpleLogger.ConsoleLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SimpleLogger.ConsoleLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SimpleLogger.ConsoleLevel DEV
public static final SimpleLogger.ConsoleLevel OFF
public static final SimpleLogger.ConsoleLevel USER
public static SimpleLogger.ConsoleLevel[] values()
for (SimpleLogger.ConsoleLevel c : SimpleLogger.ConsoleLevel.values()) System.out.println(c);
public static SimpleLogger.ConsoleLevel 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<SimpleLogger.ConsoleLevel>
Copyright © 2016 PayPal Open Source. All rights reserved.