Class StandardStreamsWriter

    • Constructor Detail

      • StandardStreamsWriter

        public StandardStreamsWriter()
    • Method Detail

      • getMinimumOutputLevel

        public elf4j.Level getMinimumOutputLevel()
        Specified by:
        getMinimumOutputLevel in interface LogWriter
        Returns:
        the minimum output level of this writer
      • write

        public void write​(@NonNull
                          @NonNull LogEvent logEvent)
        Specified by:
        write in interface LogWriter
        Parameters:
        logEvent - the log data entry to write out
      • includeCallerDetail

        public boolean includeCallerDetail()
        Specified by:
        includeCallerDetail in interface PerformanceSensitive
        Returns:
        true if log should include caller detail such as method, line number...
      • includeCallerThread

        public boolean includeCallerThread()
        Specified by:
        includeCallerThread in interface PerformanceSensitive
        Returns:
        true if log should include call thread information such thread name and id