public class Levels extends Object
Level
values.
See the LogManager
class for one way to use the FAILED
and HANDLED
logging levels in standard logging configuration
files.
Modifier and Type | Field and Description |
---|---|
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. |
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
.
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.