Package com.illumon.iris.db.util.logging
Class DeephavenNullLoggerImpl
java.lang.Object
com.fishlib.io.logger.LoggerImpl
com.illumon.iris.db.util.logging.DeephavenNullLoggerImpl
- All Implemented Interfaces:
com.fishlib.io.logger.Logger
public class DeephavenNullLoggerImpl
extends com.fishlib.io.logger.LoggerImpl
This is a clone of
NullLoggerImpl
that uses a dynamic instead of fixed pool.
NullLoggerImpl has this documentation: Logger implementation that calls Interceptors on log entries, but doesn't write them to anything. Note that this implementation does not append the timestamp or level to the entries.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface com.fishlib.io.logger.Logger
com.fishlib.io.logger.Logger.Null
-
Field Summary
Fields inherited from class com.fishlib.io.logger.LoggerImpl
EMPTY_LOG_ENTRY, localTimestamp, logEntryPool, loggingLevel, logSink, name, showLevel, showThreadName, timeSource, tz
Fields inherited from interface com.fishlib.io.logger.Logger
NULL
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.fishlib.io.logger.LoggerImpl
debug, debug, debug, debug, email, email, email, error, error, error, error, fatal, fatal, fatal, fatal, getEntry, getEntry, getEntry, getSink, info, info, info, info, isDebugEnabled, isEmailEnabled, isErrorEnabled, isFatalEnabled, isInfoEnabled, isLevelEnabled, isTraceEnabled, isWarnEnabled, setLevel, shutdown, trace, trace, trace, trace, warn, warn, warn, warn
-
Constructor Details
-
DeephavenNullLoggerImpl
public DeephavenNullLoggerImpl(@NotNull com.fishlib.io.log.LogLevel loggingLevel)
-
-
Method Details
-
getEntry
public com.fishlib.io.log.LogEntry getEntry(com.fishlib.io.log.LogLevel level, long currentTimeMicros, @Nullable Throwable t) Override to avoid writing timestamp and level to the entry, as it's assumed they'll be handled independently- Specified by:
getEntry
in interfacecom.fishlib.io.logger.Logger
- Overrides:
getEntry
in classcom.fishlib.io.logger.LoggerImpl
-