Uses of Class
java.util.logging.Level
Package
Description
Provides the classes and interfaces of
the Java 2 platform's core logging facilities.
The standard classes and interfaces that a third party vendor has to
use in its implementation of a synchronization provider.
-
Uses of Level in java.util.logging
Modifier and TypeFieldDescriptionstatic Level
Level.ALL
ALL indicates that all messages should be logged.static Level
Level.CONFIG
CONFIG is a message level for static configuration messages.static Level
Level.FINE
FINE is a message level providing tracing information.static Level
Level.FINER
FINER indicates a fairly detailed tracing message.static Level
Level.FINEST
FINEST indicates a highly detailed tracing message.static Level
Level.INFO
INFO is a message level for informational messages.static Level
Level.OFF
OFF is a special level that can be used to turn off logging.static Level
Level.SEVERE
SEVERE is a message level indicating a serious failure.static Level
Level.WARNING
WARNING is a message level indicating a potential problem.Modifier and TypeMethodDescriptionHandler.getLevel()
Get the log level specifying which messages will be logged by thisHandler
.Logger.getLevel()
Get the log Level that has been specified for this Logger.LogRecord.getLevel()
Get the logging message level, for example Level.SEVERE.MemoryHandler.getPushLevel()
Get thepushLevel
.static Level
Parse a level name string into a Level.Modifier and TypeMethodDescriptionboolean
Logger.isLoggable(Level level)
Check if a message of the given level would actually be logged by this logger.void
Log a message, with no arguments.void
Log a message, with one object parameter.void
Log a message, with an array of object arguments.void
Log a message, with associated Throwable information.void
Log a lazily constructed message, with associated Throwable information.void
Log a message, which is only to be constructed if the logging level is such that the message will actually be logged.void
Log a message, specifying source class and method, with no arguments.void
Log a message, specifying source class and method, with a single object parameter to the log message.void
Log a message, specifying source class and method, with an array of object arguments.void
Log a message, specifying source class and method, with associated Throwable information.void
Logger.logp(Level level, String sourceClass, String sourceMethod, Throwable thrown, Supplier<String> msgSupplier)
Log a lazily constructed message, specifying source class and method, with associated Throwable information.void
Log a lazily constructed message, specifying source class and method, with no arguments.void
Deprecated.void
Logger.logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String msg, Object param1)
void
Logger.logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String msg, Object[] params)
void
Logger.logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String msg, Throwable thrown)
void
Logger.logrb(Level level, String sourceClass, String sourceMethod, ResourceBundle bundle, String msg, Object... params)
Log a message, specifying source class, method, and resource bundle, with an optional list of message parameters.void
Logger.logrb(Level level, String sourceClass, String sourceMethod, ResourceBundle bundle, String msg, Throwable thrown)
Log a message, specifying source class, method, and resource bundle, with associated Throwable information.void
Logger.logrb(Level level, ResourceBundle bundle, String msg, Object... params)
Log a message, specifying source class, method, and resource bundle, with an optional list of message parameters.void
Logger.logrb(Level level, ResourceBundle bundle, String msg, Throwable thrown)
Log a message, specifying source class, method, and resource bundle, with associated Throwable information.void
Set the log level specifying which message levels will be logged by thisHandler
.void
Set the log level specifying which message levels will be logged by this logger.void
Set the logging message level, for example Level.SEVERE.void
MemoryHandler.setPushLevel(Level newLevel)
Set thepushLevel
. -
Uses of Level in javax.sql.rowset.spi
Logger.logrb(java.util.logging.Level, java.lang.String, java.lang.String, java.util.ResourceBundle, java.lang.String, java.lang.Object...)
instead.