@calipsa/log-formatter
Installation
# using npm:
npm install --save @calipsa/log-formatter
# or if you like yarn:
yarn add @calipsa/log-formatter
Usage
import createLogger from '@calipsa/logger'
import formatter from '@calipsa/log-formatter'
const logger = createLogger({
name: 'foobar',
minLevel: 'info',
transform: formatter,
// serializers: { },
// transform: (o) => o,
})
// ...