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
debugis called.- errorFn
The function to call when
erroris called.- infoFn
The function to call when
infois called.- warnFn
The function to call when
warnis called.
- Returns:
A logger that uses the supplied functions as implementations for
debug,info,warnanderror.
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.