0.0.5 • Published 6 years ago

@copropr/logger-plugin v0.0.5

Weekly downloads
2
License
ISC
Repository
-
Last release
6 years ago

Logger Plugin

Just a simple plugin to wrap & predefine the configuration of bunyan

Installation

# NPM
$ npm i -S @copropr/logger-plugin

# Yarn
$ yarn add @copropr/logger-plugin

Usage

// Commonjs
const LoggerPlugin = require('@copropr/logger-plugin').default

// ES6 module way
import LoggerPlugin from '@copropr/logger-plugin'

const logger = new LoggerPlugin(optionToPassToBunyan).instance

*Note: Be sure to include the .instace since this plugin will not wrap bunyan instance of the logger*

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago