JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 47
  • Score
    100M100P100Q66293F
  • License MIT

logger of chimee

Package Exports

  • chimee-helper-log

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (chimee-helper-log) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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