Package org.omegazero.common.logging
Interface LoggerOutput
- All Known Implementing Classes:
FileLoggerOutput
,RotatingFileLoggerOutput
,StdStreamsLoggerOutput
public interface LoggerOutput
Represents a location where log messages generated by
StandardLogger
s are written to.- Since:
- 2.10
-
Method Summary
-
Method Details
-
writeLine
Writes the given log line to thisLoggerOutput
.- Parameters:
line
- The log messagemarkup
- Special terminal escape sequences used for text markup
-
flush
void flush()Flushes any buffered data to the underlying output. -
close
default void close()Closes thisLoggerOutput
, flushing any remaining data and freeing resources. After a call to this method, the behavior of other methods in this interfaces is undefined.- Since:
- 2.11.0
-