| Package | Description |
|---|---|
| java.util.logging |
Provides the classes and interfaces of the Java
TM 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.
|
| Modifier and Type | Field and Description |
|---|---|
static 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 Type | Method and Description |
|---|---|
Level |
Handler.getLevel()
Get the log level specifying which messages will be logged by this
Handler.
|
Level |
LogRecord.getLevel()
Get the logging message level, for example Level.SEVERE.
|
Level |
Logger.getLevel()
Get the log Level that has been specified for this Logger.
|
Level |
MemoryHandler.getPushLevel()
Get the
pushLevel.
|
static Level |
Level.parse(String
Parse a level name string into a Level.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Logger.isLoggable(Level
Check if a message of the given level would actually be logged by this logger.
|
void |
Logger.log(Level
Log a message, with no arguments.
|
void |
Logger.log(Level
Log a message, with one object parameter.
|
void |
Logger.log(Level
Log a message, with an array of object arguments.
|
void |
Logger.log(Level
Log a message, with associated Throwable information.
|
void |
Logger.log(Level
Log a message, which is only to be constructed if the logging level is such that the message will actually be logged.
|
void |
Logger.log(Level
Log a lazily constructed message, with associated Throwable information.
|
void |
Logger.logp(Level
Log a message, specifying source class and method, with no arguments.
|
void |
Logger.logp(Level
Log a message, specifying source class and method, with a single object parameter to the log message.
|
void |
Logger.logp(Level
Log a message, specifying source class and method, with an array of object arguments.
|
void |
Logger.logp(Level
Log a message, specifying source class and method, with associated Throwable information.
|
void |
Logger.logp(Level
Log a lazily constructed message, specifying source class and method, with no arguments.
|
void |
Logger.logp(Level
Log a lazily constructed message, specifying source class and method, with associated Throwable information.
|
void |
Logger.logrb(Level
Log a message, specifying source class, method, and resource bundle, with an optional list of message parameters.
|
void |
Logger.logrb(Level
Log a message, specifying source class, method, and resource bundle, with associated Throwable information.
|
void |
Logger.logrb(Level
|
void |
Logger.logrb(Level
|
void |
Logger.logrb(Level
|
void |
Logger.logrb(Level
|
void |
Handler.setLevel(Level
Set the log level specifying which message levels will be logged by this
Handler.
|
void |
LogRecord.setLevel(Level
Set the logging message level, for example Level.SEVERE.
|
void |
Logger.setLevel(Level
Set the log level specifying which message levels will be logged by this logger.
|
void |
MemoryHandler.setPushLevel(Level
Set the
pushLevel.
|
| Constructor and Description | |
|---|---|
LogRecord(Level
Construct a LogRecord with the given level and message values.
|
|
MemoryHandler(Handler
Create a
MemoryHandler.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
SyncFactory.setLogger(Logger
Sets the logging object that is used by
SyncProvider implementations provided by the
SyncFactory SPI.
|