public final class LoggingLevel extends Level
Added levels in descending order are (between parenthesis the relation with Java logging levels):
WARNING < ERROR < SEVERE
)
INFO < NOTICE < WARNING
)
ALL < DEBUG < FINES
T
Notice that ERROR
is lower than Level.SEVERE
but higher than
Level.WARNING
. DEBUG
instead is lower than Level.FINEST
but higher than Level.ALL
.
Modifier and Type | Field and Description |
---|---|
static LoggingLevel |
ALERT
A level to be used when a person must take an action immediately.
|
static LoggingLevel |
CRITICAL
A level to be used when critical events cause more severe problems or brief outages.
|
static LoggingLevel |
DEBUG
A level to be used for debug or trace information.
|
static LoggingLevel |
EMERGENCY
A levet to be used when one or more systems are unusable.
|
static LoggingLevel |
ERROR
A level to be used when events occur that are likely to cause problems.
|
static LoggingLevel |
NOTICE
A level to be used when normal events occur, such as start up and shut down.
|
Modifier and Type | Method and Description |
---|---|
Severity |
getSeverity()
Returns the Stackdriver Logging severity associated with this logging level.
|
equals, getLocalizedName, getName, getResourceBundleName, hashCode, intValue, parse, toString
public static final LoggingLevel DEBUG
250
.public static final LoggingLevel NOTICE
850
.public static final LoggingLevel ERROR
950
.public static final LoggingLevel CRITICAL
1050
.public static final LoggingLevel ALERT
1100
.public static final LoggingLevel EMERGENCY
1150
.public Severity getSeverity()
Copyright © 2019 Google LLC. All rights reserved.