Top Fields Constructors Methods
com.mchange.v2.log.jdk14logging

public final Class ForwardingLogger

extends Logger
Class Inheritance
Imports
java.util.*, java.util.logging.*, com.mchange.v2.log.*

Field Summary

Modifier and TypeField and Description
pack-priv MLogger
Inherited from java.util.logging.Logger:
globalGLOBAL_LOGGER_NAME

Constructor Summary

AccessConstructor and Description
public
ForwardingLogger(MLogger forwardTo, String resourceBundleName)

Method Summary

Modifier and TypeMethod and Description
public void
log(LogRecord
the LogRecord to be published
lr
)

Overrides java.util.logging.Logger.log.

Log a LogRecord.

Inherited from java.util.logging.Logger:
addHandlerconfigconfigenteringenteringenteringexitingexitingfinefinefinerfinerfinestfinestgetAnonymousLoggergetAnonymousLoggergetFiltergetGlobalgetHandlersgetLevelgetLoggergetLoggergetNamegetParentgetResourceBundlegetResourceBundleNamegetUseParentHandlersinfoinfoisLoggablelogloglogloglogloglogplogplogplogplogplogplogrblogrblogrblogrblogrblogrblogrblogrbremoveHandlersetFiltersetLevelsetParentsetResourceBundlesetUseParentHandlerssevereseverethrowingwarningwarning

Field Detail

forwardToback to summary
pack-priv MLogger forwardTo

Constructor Detail

ForwardingLoggerback to summary
public ForwardingLogger(MLogger forwardTo, String resourceBundleName)

Method Detail

logback to summary
public void log(LogRecord lr)

Overrides java.util.logging.Logger.log.

Doc from java.util.logging.Logger.log.

Log a LogRecord.

All the other logging methods in this class call through this method to actually perform any logging. Subclasses can override this single method to capture all log activity.

Parameters
lr:LogRecord

the LogRecord to be published