Package elf4j.engine.service.writer
Class StandardStreamsWriter
- java.lang.Object
-
- elf4j.engine.service.writer.StandardStreamsWriter
-
- All Implemented Interfaces:
LogWriter,PerformanceSensitive
public class StandardStreamsWriter extends Object implements LogWriter
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStandardStreamsWriter.StandardStreamsWriterFactory-
Nested classes/interfaces inherited from interface elf4j.engine.service.writer.LogWriter
LogWriter.TypedLogWriterFactory
-
-
Constructor Summary
Constructors Constructor Description StandardStreamsWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description elf4j.LevelgetMinimumOutputLevel()booleanincludeCallerDetail()booleanincludeCallerThread()voidwrite(@NonNull LogEvent logEvent)
-
-
-
Method Detail
-
getMinimumOutputLevel
public elf4j.Level getMinimumOutputLevel()
- Specified by:
getMinimumOutputLevelin interfaceLogWriter- Returns:
- the minimum output level of this writer
-
write
public void write(@NonNull @NonNull LogEvent logEvent)
-
includeCallerDetail
public boolean includeCallerDetail()
- Specified by:
includeCallerDetailin interfacePerformanceSensitive- Returns:
- true if log should include caller detail such as method, line number...
-
includeCallerThread
public boolean includeCallerThread()
- Specified by:
includeCallerThreadin interfacePerformanceSensitive- Returns:
- true if log should include call thread information such thread name and id
-
-