@calipsa/log-formatter
v0.4.1
Published
JavaScript log formatter
Downloads
14
Readme
@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,
})
// ...