3.0.0 • Published 4 years ago

apheleia v3.0.0

Weekly downloads
11
License
MIT
Repository
github
Last release
4 years ago

apheleia

Build Status Coverage Status NPM version JavaScript Style Guide

Fast and simplistic logger supporting any Writable stream and custom formats.

Installation

npm i apheleia

Usage

const { createLogger } = require('apheleia')

const logger = createLogger()
logger.info('hello world')

const child = logger.child({ requestId: 'abcd' })
child.info('hello world')

This logs the following lines:

2019-04-19T09:23:50.902Z INFO hello world
2019-04-19T09:23:50.902Z INFO hello world requestId=abcd

Documentation

License

MIT

3.0.0

4 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

1.0.0-rc.2

6 years ago

1.0.0-rc.1

6 years ago

0.2.0

6 years ago

0.1.0

6 years ago