ResourceLoggerSyntax
Syntax for loggers suspended in Resource
(i.e. AsyncLogger
or FileLogger
)
Syntax for loggers suspended in Resource
(i.e. AsyncLogger
or FileLogger
)
Value members
Concrete methods
Intercept logger message before it's written to the logger
Intercept logger message before it's written to the logger
Filter messages given the predicate. Falsified cases are dropped from the logging
Filter messages given the predicate. Falsified cases are dropped from the logging
Create async logger that buffers the messages up to the limit (if any) and flushes it down the chain each timeWindow
Create async logger that buffers the messages up to the limit (if any) and flushes it down the chain each timeWindow
- Value Params
- maxBufferSize
max logs buffer size
- timeWindow
pause between async buffer flushing
- Returns
Logger suspended in
Resource
. Once thisResource
started, internal flush loop is initialized. Once resource is released, flushing is also stopped.
Create logger that adds constant context to each log record
Create logger that adds constant context to each log record
- Value Params
- ctx
constant context
Create contextual logger that is capable of picking up context from inside of F[_]
.
See ContextualLogger
for more info
Create contextual logger that is capable of picking up context from inside of F[_]
.
See ContextualLogger
for more info
Create logger that hashes context value given that context key matches one of the arguments
Create logger that hashes context value given that context key matches one of the arguments