1.5.4 • Published 6 years ago

wuhalog v1.5.4

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

Wuha Log

Logging package for Node.js applications.

Usage

Before it can be used, the logger needs to be initialized. This is done by calling the initialize function, which can be done like so:

import { initialize as initializeLogger } from 'wuhalog'
const log = initializeLogger({
  level: 'info'
})

You should do this in the first file of your Node project. Once initialize, the logger can access as the default import:

import log from 'wuhalog'

The equivalent without import:

const log = require('wuhalog').initialize({
  level: 'info'
})

And later:

const log = require('wuhalog').default

Examples

Wuhalog is used in Manhattan (for ES2015 examples) and in Redirector (for TypeScript examples).

Publishing

  1. npm login
  2. Increment version in package.json
  3. npm publish
1.5.4

6 years ago

1.5.3

6 years ago

1.5.2

6 years ago

1.5.1

6 years ago

1.5.0

6 years ago

1.4.3

6 years ago

1.4.2

6 years ago

1.4.1

6 years ago

1.4.0

6 years ago

1.3.0

6 years ago

1.2.6

6 years ago

1.2.5

6 years ago

1.2.4

6 years ago

1.2.3

6 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.0

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago