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
logger of chimee
get started
npm install chimee-helper-log --saveif 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
Log Object
GLOBAL_TAG
Type: string
FORCE_GLOBAL_TAG
Type: boolean
ENABLE_ERROR
Type: boolean
ENABLE_INFO
Type: boolean
ENABLE_WARN
Type: boolean
ENABLE_DEBUG
Type: boolean
ENABLE_VERBOSE
Type: boolean
error
equal to console.error, output [${tag}] > {$msg}
Parameters
info
equal to console.info, output [${tag}] > {$msg}
Parameters
warn
equal to console.warn, output [${tag}] > {$msg}
Parameters
debug
equal to console.debug, output [${tag}] > {$msg}
Parameters
verbose
equal to console.verbose, output [${tag}] > {$msg}
Parameters