@artossystems/create-logger

1.0.1 • Public • Published

Create Logger

This library allows a fully functional logger that works on both the server and the client to be created and used in an application.

The logger logs to the standard output and error streams.

Installation

npm install @artossystems/create-logger

Usage

const createLogger = require('@artossystems/create-logger')
const logger = createLogger({
  useColor: true,
  level: 'info'
}).child({ obj: 'my identitifier' })
logger.info('Message to log')

Readme

Keywords

none

Package Sidebar

Install

npm i @artossystems/create-logger

Weekly Downloads

2

Version

1.0.1

License

ISC

Unpacked Size

2.25 kB

Total Files

8

Last publish

Collaborators

  • adrijardi
  • alexp_artos
  • andybry
  • fluorostani
  • jim_wilde
  • nahuseyoum