GeezerVison is showing docs.oracle.com — Level (Java Platform SE 8 )
Java™ Platform Standard Ed. 8
compact1, compact2, compact3
java.util.logging
Class Level
-
-
Field Summary
Fields
| Modifier and Type |
Field |
Description |
static Level |
ALL |
ALL indicates that all messages should be logged.
|
static Level |
CONFIG |
CONFIG is a message level for static configuration messages.
|
static Level |
FINE |
FINE is a message level providing tracing information.
|
static Level |
FINER |
FINER indicates a fairly detailed tracing message.
|
static Level |
FINEST |
FINEST indicates a highly detailed tracing message.
|
static Level |
INFO |
INFO is a message level for informational messages.
|
static Level |
OFF |
OFF is a special level that can be used to turn off logging.
|
static Level |
SEVERE |
SEVERE is a message level indicating a serious failure.
|
static Level |
WARNING |
WARNING is a message level indicating a potential problem.
|
-
Constructor Summary
Constructors
| Modifier |
Constructor |
Description |
protected |
Level(String name,
int value) |
Create a named Level with a given integer value.
|
protected |
Level(String name,
int value,
String resourceBundleName) |
Create a named Level with a given integer value and a
given localization resource name.
|
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods
| Modifier and Type |
Method |
Description |
boolean |
equals(Object ox) |
Compare two objects for value equality.
|
String |
getLocalizedName() |
Return the localized string name of the Level, for
the current default locale.
|
String |
getName() |
Return the non-localized string name of the Level.
|
String |
getResourceBundleName() |
Return the level's localization resource bundle name, or
null if no localization bundle is defined.
|
int |
hashCode() |
Generate a hashcode.
|
int |
intValue() |
Get the integer value for this level.
|
static Level |
parse(String name) |
Parse a level name string into a Level.
|
String |
toString() |
Returns a string representation of this Level.
|
-
-
Field Detail
-
FINER
public static final Level FINER
FINER indicates a fairly detailed tracing message.
By default logging calls for entering, returning, or throwing
an exception are traced at this level.
This level is initialized to 400.
-
Method Detail
-
getResourceBundleName
public String getResourceBundleName()
Return the level's localization resource bundle name, or
null if no localization bundle is defined.
- Returns:
- localization resource bundle name
Java™ Platform Standard Ed. 8
Submit a bug or feature For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples. Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
|