Simple logger package to unify how logging is done with (configurable) remapping
- trace -> DEBUG
- debug -> DEBUG
- info -> INFO
- warn -> WARNING
- error -> ERROR
- fatal -> CRITICAL
logLevel // defaults to info
mixin // pino mixins, passed down to pino as is
const logger = require('@bonniernews/exp-logger')()
logger.info("Hello world")
/*
-- expected output
[15:19:13.240] INFO: Hello world
*/