Package io.deephaven.io.logger
Class NullLoggerImpl
java.lang.Object
io.deephaven.io.logger.LoggerImpl
io.deephaven.io.logger.NullLoggerImpl
- All Implemented Interfaces:
Logger
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 classes/interfaces inherited from interface io.deephaven.io.logger.Logger
Logger.Null
-
Field Summary
Fields inherited from class io.deephaven.io.logger.LoggerImpl
EMPTY_LOG_ENTRY, localTimestamp, logEntryPool, loggingLevel, logSink, name, showLevel, showThreadName, timeSource, tz
-
Constructor Summary
-
Method Summary
Methods inherited from class io.deephaven.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
-
NullLoggerImpl
-
-
Method Details
-
getEntry
Override to avoid writing timestamp and level to the entry, as it's assumed they'll be handled independently- Specified by:
getEntry
in interfaceLogger
- Overrides:
getEntry
in classLoggerImpl
-