|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jini.logging.Levels
public class Levels
Defines additional Level
values.
See the LogManager
class for one way to use the FAILED
and HANDLED
logging levels in standard logging configuration
files.
Nested Class Summary | |
---|---|
private static class |
Levels.ClassReplacingObjectOutputStream
Defines an object output stream that allows the data for one class to be interpreted as the data for another class. |
private static class |
Levels.LevelData
Defines a class that has the same data format as the Level class, to permit creating the serialized form of a Level instance. |
Field Summary | |
---|---|
static Level |
FAILED
FAILED is a message level indicating that a facility has
experienced a failure that it will reflect to its caller. |
static Level |
HANDLED
HANDLED is a message level indicating that a facility has
detected a failure that it will take steps to handle without reflecting
the failure to its caller. |
Constructor Summary | |
---|---|
private |
Levels()
This class cannot be instantiated. |
Method Summary | |
---|---|
private static Level |
createLevel(String name,
int value,
String resourceBundleName)
Creates an instance of the Level class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Level FAILED
FAILED
is a message level indicating that a facility has
experienced a failure that it will reflect to its caller.
FAILED
messages are intended to provide users with
information about failures produced by internal components in order to
assist with debugging problems in systems with multiple components. This
level is initialized to 600
.
public static final Level HANDLED
HANDLED
is a message level indicating that a facility has
detected a failure that it will take steps to handle without reflecting
the failure to its caller.
HANDLED
messages are intended to provide users with
information about failures detected by internal components in order to
assist with debugging problems in systems with multiple components. This
level is initialized to 550
.
Constructor Detail |
---|
private Levels()
Method Detail |
---|
private static Level createLevel(String name, int value, String resourceBundleName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |