Uses of Class
java.util.logging.Level
| Package | Description |
|---|---|
| java.util.logging |
Provides the classes and interfaces of
the Java™ 2 platform's core logging facilities.
|
| javax.sql.rowset.spi |
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
Fields in java.util.logging declared as Level Modifier and Type Field Description static LevelLevel. ALLALL indicates that all messages should be logged.static LevelLevel. CONFIGCONFIG is a message level for static configuration messages.static LevelLevel. FINEFINE is a message level providing tracing information.static LevelLevel. FINERFINER indicates a fairly detailed tracing message.static LevelLevel. FINESTFINEST indicates a highly detailed tracing message.static LevelLevel. INFOINFO is a message level for informational messages.static LevelLevel. OFFOFF is a special level that can be used to turn off logging.static LevelLevel. SEVERESEVERE is a message level indicating a serious failure.static LevelLevel. WARNINGWARNING is a message level indicating a potential problem.Methods in java.util.logging that return Level Modifier and Type Method Description LevelHandler. getLevel()Get the log level specifying which messages will be logged by thisHandler.LevelLogger. getLevel()Get the log Level that has been specified for this Logger.LevelLogRecord. getLevel()Get the logging message level, for example Level.SEVERE.LevelMemoryHandler. getPushLevel()Get thepushLevel.static LevelLevel. parse(String name)Parse a level name string into a Level.Methods in java.util.logging with parameters of type Level Modifier and Type Method Description booleanLogger. isLoggable(Level level)Check if a message of the given level would actually be logged by this logger.voidLogger. log(Level level, String msg)Log a message, with no arguments.voidLogger. log(Level level, String msg, Object param1)Log a message, with one object parameter.voidLogger. log(Level level, String msg, Object[] params)Log a message, with an array of object arguments.voidLogger. log(Level level, String msg, Throwable thrown)Log a message, with associated Throwable information.voidLogger. log(Level level, Throwable thrown, Supplier<String> msgSupplier)Log a lazily constructed message, with associated Throwable information.voidLogger. log(Level level, Supplier<String> msgSupplier)Log a message, which is only to be constructed if the logging level is such that the message will actually be logged.voidLogger. logp(Level level, String sourceClass, String sourceMethod, String msg)Log a message, specifying source class and method, with no arguments.voidLogger. logp(Level level, String sourceClass, String sourceMethod, String msg, Object param1)Log a message, specifying source class and method, with a single object parameter to the log message.voidLogger. logp(Level level, String sourceClass, String sourceMethod, String msg, Object[] params)Log a message, specifying source class and method, with an array of object arguments.voidLogger. logp(Level level, String sourceClass, String sourceMethod, String msg, Throwable thrown)Log a message, specifying source class and method, with associated Throwable information.voidLogger. 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.voidLogger. logp(Level level, String sourceClass, String sourceMethod, Supplier<String> msgSupplier)Log a lazily constructed message, specifying source class and method, with no arguments.voidLogger. logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String msg)voidLogger. logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String msg, Object param1)voidLogger. logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String msg, Object[] params)voidLogger. logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String msg, Throwable thrown)voidLogger. 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.voidLogger. 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.voidLogger. 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.voidLogger. logrb(Level level, ResourceBundle bundle, String msg, Throwable thrown)Log a message, specifying source class, method, and resource bundle, with associated Throwable information.voidHandler. setLevel(Level newLevel)Set the log level specifying which message levels will be logged by thisHandler.voidLogger. setLevel(Level newLevel)Set the log level specifying which message levels will be logged by this logger.voidLogRecord. setLevel(Level level)Set the logging message level, for example Level.SEVERE.voidMemoryHandler. setPushLevel(Level newLevel)Set thepushLevel.Constructors in java.util.logging with parameters of type Level Constructor Description LogRecord(Level level, String msg)Construct a LogRecord with the given level and message values.MemoryHandler(Handler target, int size, Level pushLevel)Create aMemoryHandler. -
Uses of Level in javax.sql.rowset.spi
Methods in javax.sql.rowset.spi with parameters of type Level Modifier and Type Method Description static voidSyncFactory. setLogger(Logger logger, Level level)Sets the logging object that is used bySyncProviderimplementations provided by theSyncFactorySPI.