- Companion:
- class
Type members
Value members
Concrete methods
Create a basic Logger
that executes the given write
function when an Event
is received
Create a basic Logger
that executes the given write
function when an Event
is received
This Logger
performs no additional actions after evaluating the given timestamp, building the Event
and
forwarding it to the write
function. It is therefore the callers responsibility to take care of asynchronicity
and thread safety.
Use Logger.raw[F]
to provide a custom timestamp that does not require an instance of Clock[F]
.
Write all logs into a Queue
and process them asynchronously as soon as at least buffer
logs have accumulated
Write all logs into a Queue
and process them asynchronously as soon as at least buffer
logs have accumulated
The timestamp
is used to set the Event
time when it is added to the queue, the underlying Logger
's
timestamp
is discarded.
Write all logs into a Queue
and process them asynchronously as soon as at least buffer
logs have accumulated
Write all logs into a Queue
and process them asynchronously as soon as at least buffer
logs have accumulated
Write all logs into a Queue
and process them asynchronously
Write all logs into a Queue
and process them asynchronously
The timestamp
is used to set the Event
time when it is added to the queue, the underlying Logger
's
timestamp
is discarded.
Write all logs into a Queue
and process them asynchronously
Write all logs into a Queue
and process them asynchronously
Create a basic Logger
that executes the given write
function when an Event
is received
Create a basic Logger
that executes the given write
function when an Event
is received
This Logger
performs no additional actions after evaluating the given timestamp, building the Event
and
forwarding it to the write
function. It is therefore the callers responsibility to take care of asynchronicity
and thread safety.
Use Logger.apply[F]
to get a timestamp that will automatically use the current time from Clock[F]
.