Package | Description |
---|---|
java.lang |
Provides classes that are fundamental to the design of the Java
programming language.
|
Modifier and Type | Method | Description |
---|---|---|
static System.Logger.Level |
System.Logger.Level.valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static System.Logger.Level[] |
System.Logger.Level.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
System.Logger.isLoggable(System.Logger.Level level) |
Checks if a message of the given level would be logged by
this logger.
|
default void |
System.Logger.log(System.Logger.Level level,
Object obj) |
Logs a message produced from the given object.
|
default void |
System.Logger.log(System.Logger.Level level,
String msg) |
Logs a message.
|
default void |
System.Logger.log(System.Logger.Level level,
String format,
Object... params) |
Logs a message with an optional list of parameters.
|
default void |
System.Logger.log(System.Logger.Level level,
String msg,
Throwable thrown) |
Logs a message associated with a given throwable.
|
default void |
System.Logger.log(System.Logger.Level level,
Supplier<String> msgSupplier) |
Logs a lazily supplied message.
|
default void |
System.Logger.log(System.Logger.Level level,
Supplier<String> msgSupplier,
Throwable thrown) |
Logs a lazily supplied message associated with a given throwable.
|
void |
System.Logger.log(System.Logger.Level level,
ResourceBundle bundle,
String format,
Object... params) |
Logs a message with resource bundle and an optional list of
parameters.
|
void |
System.Logger.log(System.Logger.Level level,
ResourceBundle bundle,
String msg,
Throwable thrown) |
Logs a localized message associated with a given throwable.
|
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, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-internal+0-adhoc.mlchung.jdk9-jdeps