APIdia Launch Partner
Top Description Constructors Methods
jdk.internal.logger

pack-priv abstract Class AbstractLoggerWrapper<L extends System.Logger>

extends Object
implements Logger, Bridge, ConfigurableBridge
Class Inheritance
All Implemented Interfaces
sun.util.logging.PlatformLogger.ConfigurableBridge, sun.util.logging.PlatformLogger.Bridge, java.lang.System.Logger
Known Direct Subclasses
jdk.internal.logger.LazyLoggers.LazyLoggerWrapper, jdk.internal.logger.LoggerWrapper
Type Parameters
<L>
Type of the wrapped Logger: Logger or an extension of that interface.
Imports
java.util.ResourceBundle, java.util.function.Supplier, java.lang.System.Logger, .System.Logger.Level, sun.util.logging.PlatformLogger

An implementation of System.Logger that redirects all calls to a wrapped instance of System.Logger

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public PlatformLogger.ConfigurableBridge.LoggerConfiguration
public final String
pack-priv L
public boolean
public boolean
isLoggable(System.Logger.Level level)

Implements java.lang.System.Logger.isLoggable.

Checks if a message of the given level would be logged by this logger.

public boolean
isLoggable(PlatformLogger.Level level)

Implements sun.util.logging.PlatformLogger.Bridge.isLoggable.

Returns true if a message of the given level would actually be logged by this logger.

public void
log(System.Logger.Level level, String msg)

Overrides default java.lang.System.Logger.log.

Logs a message.

public void
log(System.Logger.Level level, Supplier<String> msgSupplier)

Overrides default java.lang.System.Logger.log.

Logs a lazily supplied message.

public void
log(System.Logger.Level level, Object obj)

Overrides default java.lang.System.Logger.log.

Logs a message produced from the given object.

public void
log(System.Logger.Level level, String msg, Throwable thrown)

Overrides default java.lang.System.Logger.log.

Logs a message associated with a given throwable.

public void
log(System.Logger.Level level, Supplier<String> msgSupplier, Throwable thrown)

Overrides default java.lang.System.Logger.log.

Logs a lazily supplied message associated with a given throwable.

public void
log(System.Logger.Level level, String format, Object... params)

Overrides default java.lang.System.Logger.log.

Logs a message with an optional list of parameters.

public void
log(System.Logger.Level level, ResourceBundle bundle, String key, Throwable thrown)

Implements java.lang.System.Logger.log.

Logs a localized message associated with a given throwable.

public void
log(System.Logger.Level level, ResourceBundle bundle, String format, Object... params)

Implements java.lang.System.Logger.log.

Logs a message with resource bundle and an optional list of parameters.

public void
public void
public void
public void
public void
public void
logp(PlatformLogger.Level level, String sourceClass, String sourceMethod, String msg)

Implements sun.util.logging.PlatformLogger.Bridge.logp.

public void
logp(PlatformLogger.Level level, String sourceClass, String sourceMethod, Supplier<String> msgSupplier)

Implements sun.util.logging.PlatformLogger.Bridge.logp.

public void
logp(PlatformLogger.Level level, String sourceClass, String sourceMethod, String msg, Object... params)

Implements sun.util.logging.PlatformLogger.Bridge.logp.

public void
logp(PlatformLogger.Level level, String sourceClass, String sourceMethod, String msg, Throwable thrown)

Implements sun.util.logging.PlatformLogger.Bridge.logp.

public void
logp(PlatformLogger.Level level, String sourceClass, String sourceMethod, Throwable thrown, Supplier<String> msgSupplier)

Implements sun.util.logging.PlatformLogger.Bridge.logp.

public void
logrb(PlatformLogger.Level level, String sourceClass, String sourceMethod, ResourceBundle bundle, String msg, Object... params)

Implements sun.util.logging.PlatformLogger.Bridge.logrb.

public void
logrb(PlatformLogger.Level level, String sourceClass, String sourceMethod, ResourceBundle bundle, String msg, Throwable thrown)

Implements sun.util.logging.PlatformLogger.Bridge.logrb.

public void
public void
pack-priv abstract PlatformLogger.Bridge
pack-priv abstract L
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

AbstractLoggerWrapperback to summary
pack-priv AbstractLoggerWrapper()

Method Detail

getLoggerConfigurationback to summary
public PlatformLogger.ConfigurableBridge.LoggerConfiguration getLoggerConfiguration()

Overrides default sun.util.logging.PlatformLogger.ConfigurableBridge.getLoggerConfiguration.

Annotations
@Override
getNameback to summary
public final String getName()

Implements java.lang.System.Logger.getName, sun.util.logging.PlatformLogger.Bridge.getName.

Doc from java.lang.System.Logger.getName.

Returns the name of this logger.

Annotations
@Override
getWrappedback to summary
pack-priv L getWrapped()
isEnabledback to summary
public boolean isEnabled()

Implements sun.util.logging.PlatformLogger.Bridge.isEnabled.

Annotations
@Override
isLoggableback to summary
public boolean isLoggable(System.Logger.Level level)

Implements java.lang.System.Logger.isLoggable.

Doc from java.lang.System.Logger.isLoggable.

Checks if a message of the given level would be logged by this logger.

Annotations
@Override
isLoggableback to summary
public boolean isLoggable(PlatformLogger.Level level)

Implements sun.util.logging.PlatformLogger.Bridge.isLoggable.

Doc from sun.util.logging.PlatformLogger.Bridge.isLoggable.

Returns true if a message of the given level would actually be logged by this logger.

Annotations
@Override
logback to summary
public void log(System.Logger.Level level, String msg)

Overrides default java.lang.System.Logger.log.

Doc from java.lang.System.Logger.log.

Logs a message.

Annotations
@Override
logback to summary
public void log(System.Logger.Level level, Supplier<String> msgSupplier)

Overrides default java.lang.System.Logger.log.

Doc from java.lang.System.Logger.log.

Logs a lazily supplied message. If the logger is currently enabled for the given log message level then a message is logged that is the result produced by the given supplier function. Otherwise, the supplier is not operated on.

Annotations
@Override
logback to summary
public void log(System.Logger.Level level, Object obj)

Overrides default java.lang.System.Logger.log.

Doc from java.lang.System.Logger.log.

Logs a message produced from the given object. If the logger is currently enabled for the given log message level then a message is logged that, by default, is the result produced from calling toString on the given object. Otherwise, the object is not operated on.

Annotations
@Override
logback to summary
public void log(System.Logger.Level level, String msg, Throwable thrown)

Overrides default java.lang.System.Logger.log.

Doc from java.lang.System.Logger.log.

Logs a message associated with a given throwable.

Annotations
@Override
logback to summary
public void log(System.Logger.Level level, Supplier<String> msgSupplier, Throwable thrown)

Overrides default java.lang.System.Logger.log.

Doc from java.lang.System.Logger.log.

Logs a lazily supplied message associated with a given throwable. If the logger is currently enabled for the given log message level then a message is logged that is the result produced by the given supplier function. Otherwise, the supplier is not operated on.

Annotations
@Override
logback to summary
public void log(System.Logger.Level level, String format, Object... params)

Overrides default java.lang.System.Logger.log.

Doc from java.lang.System.Logger.log.

Logs a message with an optional list of parameters.

Annotations
@Override
logback to summary
public void log(System.Logger.Level level, ResourceBundle bundle, String key, Throwable thrown)

Implements java.lang.System.Logger.log.

Doc from java.lang.System.Logger.log.

Logs a localized message associated with a given throwable. If the given resource bundle is non-null, the msg string is localized using the given resource bundle. Otherwise the msg string is not localized.

Annotations
@Override
logback to summary
public void log(System.Logger.Level level, ResourceBundle bundle, String format, Object... params)

Implements java.lang.System.Logger.log.

Doc from java.lang.System.Logger.log.

Logs a message with resource bundle and an optional list of parameters. If the given resource bundle is non-null, the format string is localized using the given resource bundle. Otherwise the format string is not localized.

Annotations
@Override
logback to summary
public void log(PlatformLogger.Level level, String msg)

Implements sun.util.logging.PlatformLogger.Bridge.log.

Annotations
@Override
logback to summary
public void log(PlatformLogger.Level level, String msg, Throwable thrown)

Implements sun.util.logging.PlatformLogger.Bridge.log.

Annotations
@Override
logback to summary
public void log(PlatformLogger.Level level, String msg, Object... params)

Implements sun.util.logging.PlatformLogger.Bridge.log.

Annotations
@Override
logback to summary
public void log(PlatformLogger.Level level, Supplier<String> msgSupplier)

Implements sun.util.logging.PlatformLogger.Bridge.log.

Annotations
@Override
logback to summary
public void log(PlatformLogger.Level level, Throwable thrown, Supplier<String> msgSupplier)

Implements sun.util.logging.PlatformLogger.Bridge.log.

Annotations
@Override
logpback to summary
public void logp(PlatformLogger.Level level, String sourceClass, String sourceMethod, String msg)

Implements sun.util.logging.PlatformLogger.Bridge.logp.

Annotations
@Override
logpback to summary
public void logp(PlatformLogger.Level level, String sourceClass, String sourceMethod, Supplier<String> msgSupplier)

Implements sun.util.logging.PlatformLogger.Bridge.logp.

Annotations
@Override
logpback to summary
public void logp(PlatformLogger.Level level, String sourceClass, String sourceMethod, String msg, Object... params)

Implements sun.util.logging.PlatformLogger.Bridge.logp.

Annotations
@Override
logpback to summary
public void logp(PlatformLogger.Level level, String sourceClass, String sourceMethod, String msg, Throwable thrown)

Implements sun.util.logging.PlatformLogger.Bridge.logp.

Annotations
@Override
logpback to summary
public void logp(PlatformLogger.Level level, String sourceClass, String sourceMethod, Throwable thrown, Supplier<String> msgSupplier)

Implements sun.util.logging.PlatformLogger.Bridge.logp.

Annotations
@Override
logrbback to summary
public void logrb(PlatformLogger.Level level, String sourceClass, String sourceMethod, ResourceBundle bundle, String msg, Object... params)

Implements sun.util.logging.PlatformLogger.Bridge.logrb.

Annotations
@Override
logrbback to summary
public void logrb(PlatformLogger.Level level, String sourceClass, String sourceMethod, ResourceBundle bundle, String msg, Throwable thrown)

Implements sun.util.logging.PlatformLogger.Bridge.logrb.

Annotations
@Override
logrbback to summary
public void logrb(PlatformLogger.Level level, ResourceBundle bundle, String msg, Throwable thrown)

Implements sun.util.logging.PlatformLogger.Bridge.logrb.

Annotations
@Override
logrbback to summary
public void logrb(PlatformLogger.Level level, ResourceBundle bundle, String msg, Object... params)

Implements sun.util.logging.PlatformLogger.Bridge.logrb.

Annotations
@Override
platformProxyback to summary
pack-priv abstract PlatformLogger.Bridge platformProxy()
wrappedback to summary
pack-priv abstract L wrapped()