object Logger
- Companion:
- class
Value members
Concrete methods
A logger that uses the supplied functions as implementations for debug
,
info
, warn
and error
.
A logger that uses the supplied functions as implementations for debug
,
info
, warn
and error
.
- Value parameters:
- debugFn
The function to call when
debug
is called.- errorFn
The function to call when
error
is called.- infoFn
The function to call when
info
is called.- warnFn
The function to call when
warn
is called.
- Returns:
A logger that uses the supplied functions as implementations for
debug
,info
,warn
anderror
.
A Logger
that writes info
and warn
messages to stdout
, and
error
, debug
and trace
messages to stderr
.
A Logger
that writes info
and warn
messages to stdout
, and
error
, debug
and trace
messages to stderr
.