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.
  • Constructor Details

    • NullLoggerImpl

      public NullLoggerImpl(@NotNull @NotNull LogLevel loggingLevel)
  • Method Details

    • getEntry

      public LogEntry getEntry(LogLevel level, long currentTimeMicros, @Nullable @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 interface Logger
      Overrides:
      getEntry in class LoggerImpl