chimee-helper-log
logger of chimee
Last updated 5 years ago by toxicjohann .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install chimee-helper-log 
SYNC missed versions from official npm registry.

chimee-helper-log

Build Status Coverage Status npm dependency Status devDependency Status Greenkeeper badge

logger of chimee

get started

npm install chimee-helper-log --save

if you are using flow, you should import our flow defination, by adding this to your .flowconfig.

[ignore]

[include]

[libs]
./node_modules/chimee-helper-log/lib/index.flow.js
[options]

[lints]

doc

Log

src/index.js:14-106

Log Object

GLOBAL_TAG

src/index.js:25-25

Type: string

FORCE_GLOBAL_TAG

src/index.js:29-29

Type: boolean

ENABLE_ERROR

src/index.js:33-33

Type: boolean

ENABLE_INFO

src/index.js:37-37

Type: boolean

ENABLE_WARN

src/index.js:41-41

Type: boolean

ENABLE_DEBUG

src/index.js:45-45

Type: boolean

ENABLE_VERBOSE

src/index.js:49-49

Type: boolean

error

src/index.js:55-61

equal to console.error, output [${tag}] > {$msg}

Parameters

  • tag string optional, the header of log
  • msg string the message

info

src/index.js:67-72

equal to console.info, output [${tag}] > {$msg}

Parameters

  • tag string optional, the header of log
  • msg string the message

warn

src/index.js:78-83

equal to console.warn, output [${tag}] > {$msg}

Parameters

  • tag string optional, the header of log
  • msg string the message

debug

src/index.js:89-94

equal to console.debug, output [${tag}] > {$msg}

Parameters

  • tag string optional, the header of log
  • msg string the message

verbose

src/index.js:100-105

equal to console.verbose, output [${tag}] > {$msg}

Parameters

  • tag string optional, the header of log
  • msg string the message

Current Tags

  • 2.0.0-alpha.3                                ...           alpha (5 years ago)
  • 0.2.3                                ...           latest (6 years ago)

11 Versions

  • 2.0.0-alpha.3                                ...           5 years ago
  • 2.0.0-alpha.2                                ...           5 years ago
  • 2.0.0-alpha.1                                ...           5 years ago
  • 0.2.3                                ...           6 years ago
  • 0.2.2                                ...           6 years ago
  • 0.2.1                                ...           6 years ago
  • 0.2.0                                ...           6 years ago
  • 0.1.3                                ...           7 years ago
  • 0.1.2                                ...           7 years ago
  • 0.1.1                                ...           7 years ago
  • 0.1.0                                ...           7 years ago
Downloads
Total 0
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (21)

© 2010 - cnpmjs.org x YWFE | Home | YWFE