Logger
class Logger(val pipes: MutableList<LoggerPipe> = mutableListOf(), val bufferSize: Int = 8192)(source)
A Logger is used to log messages
Since
0.1.0
Parameters
pipes
The LoggerPipes of the logger
bufferSize
The size of the buffer
Constructors
Link copied to clipboard
Creates a new Logger
Types
Link copied to clipboard
Utility for generating a TransformedPipe to transform the logs before piping them to the given pipe
Properties
Link copied to clipboard
The size of the buffer
Link copied to clipboard
The LoggerPipes of the logger
Functions
Link copied to clipboard
Pipes the logs to the given pipe
Link copied to clipboard
Pushes a LogEntry to the buffer
Link copied to clipboard
Transforms the logs with the given transformer before piping them to the given pipe
Transforms the logs with the given transformers before piping them to the given pipe