Package | Description |
---|---|
java.lang |
Provides classes that are fundamental to the design of the Java
programming language.
|
java.util.logging |
Provides the classes and interfaces of
the JavaTM 2
platform's core logging facilities.
|
Modifier and Type | Method and Description |
---|---|
static <T> ThreadLocal<T> |
ThreadLocal.withInitial(Supplier<? extends T> supplier)
Creates a thread local variable.
|
Modifier and Type | Method and Description |
---|---|
void |
Logger.config(Supplier<String> msgSupplier)
Log a CONFIG message, which is only to be constructed if the logging
level is such that the message will actually be logged.
|
void |
Logger.fine(Supplier<String> msgSupplier)
Log a FINE message, which is only to be constructed if the logging
level is such that the message will actually be logged.
|
void |
Logger.finer(Supplier<String> msgSupplier)
Log a FINER message, which is only to be constructed if the logging
level is such that the message will actually be logged.
|
void |
Logger.finest(Supplier<String> msgSupplier)
Log a FINEST message, which is only to be constructed if the logging
level is such that the message will actually be logged.
|
void |
Logger.info(Supplier<String> msgSupplier)
Log a INFO message, which is only to be constructed if the logging
level is such that the message will actually be logged.
|
void |
Logger.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.
|
void |
Logger.log(Level level,
Throwable thrown,
Supplier<String> msgSupplier)
Log a lazily constructed message, with associated Throwable information.
|
void |
Logger.logp(Level level,
String sourceClass,
String sourceMethod,
Supplier<String> msgSupplier)
Log a lazily constructed message, specifying source class and method,
with no arguments.
|
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 |
Logger.severe(Supplier<String> msgSupplier)
Log a SEVERE message, which is only to be constructed if the logging
level is such that the message will actually be logged.
|
void |
Logger.warning(Supplier<String> msgSupplier)
Log a WARNING message, which is only to be constructed if the logging
level is such that the message will actually be logged.
|
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, 2013, Oracle and/or its affiliates. All rights reserved.
DRAFT internal-0