Uses of Class
java.lang.System.Logger.Level
Package
Description
Provides classes that are fundamental to the design of the Java
programming language.
-
Uses of System.Logger.Level in java.lang
Modifier and TypeMethodDescriptionstatic System.Logger.Level
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 TypeMethodDescriptionboolean
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.