@edgeros/pino
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

Install

Using NPM:

$ npm install @edgeros/pino

Usage

const logger = require('pino')()

logger.info('hello world')

const child = logger.child({ a: 'property' })
child.info('hello child!')

This produces:

{"level":30,"time":1531171074631,"msg":"hello world","pid":657,"hostname":"Davids-MBP-3.fritz.box"}
{"level":30,"time":1531171082399,"msg":"hello child!","pid":657,"hostname":"Davids-MBP-3.fritz.box","a":"property"}

Readme

Keywords

none

Package Sidebar

Install

npm i @edgeros/pino

Weekly Downloads

5

Version

0.0.4

License

MIT

Unpacked Size

89.8 kB

Total Files

17

Last publish

Collaborators

  • clarkttfu
  • fu-starslights
  • epmbot
  • xieyuanbin
  • chengyonbin