Package io.deephaven.io.logger
Class NullLoggerImpl
- java.lang.Object
-
- io.deephaven.io.logger.LoggerImpl
-
- io.deephaven.io.logger.NullLoggerImpl
-
- All Implemented Interfaces:
Logger
public class NullLoggerImpl extends LoggerImpl
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 Modifier and Type Class Description static classNullLoggerImpl.NullLoggerTimeSource-
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
Constructors Constructor Description NullLoggerImpl(LogLevel loggingLevel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogEntrygetEntry(LogLevel level, long currentTimeMicros, java.lang.Throwable t)Override to avoid writing timestamp and level to the entry, as it's assumed they'll be handled independently-
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 Detail
-
NullLoggerImpl
public NullLoggerImpl(@NotNull LogLevel loggingLevel)
-
-