public class Level extends Object
| Modifier and Type | Field and Description |
|---|---|
static Level |
ALL |
static Level |
CONFIG |
static Level |
FINE |
static Level |
FINER |
static Level |
FINEST |
static Level |
INFO |
static Level |
OFF |
static Level |
SEVERE |
static Level |
WARNING |
| Modifier | Constructor and Description |
|---|---|
protected |
Level(String name,
int value)
Creates a new
Level with a given name and integer
value. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Two levels are equal if they have the same integer value
|
int |
intValue()
Returns the integer value for this level
|
static Level |
parse(String name)
Creates a new
Level from a string. |
String |
toString()
Returns a textual representation of this level
|
public static final Level OFF
public static final Level SEVERE
public static final Level WARNING
public static final Level INFO
public static final Level CONFIG
public static final Level FINE
public static final Level FINER
public static final Level FINEST
public static final Level ALL
protected Level(String name, int value)
Level with a given name and integer
value.Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.