@studyportals/node-log@v1.1.2
Logging support for Node
@studyportals/log
enum
@studyportals/log.VERBOSITY : Default options for verbosity
Kind: static enum of @studyportals/log
Properties
Name | Type | Default |
---|---|---|
NONE | number |
0 |
ERROR | number |
1 |
WARNING | number |
2 |
INFO | number |
3 |
DEBUG | number |
4 |
ALL | number |
4 |
@studyportals/log.setVerbosity(x) ⇒
Set the verbosity level.
The default verbosity level is: process.env.PRTL_VERBOSITY || VERBOSITY.INFO;
Kind: static method of @studyportals/log
Returns: void
Param | Type | Description |
---|---|---|
x |
VERBOSITY | number
|
Verbosity level |
@studyportals/log.debug([message]) ⇒
Debug message (gray)
Kind: static method of @studyportals/log
Returns: boolean
Param | Type |
---|---|
[message] | string |
@studyportals/log.info([message]) ⇒
Info message (white)
Kind: static method of @studyportals/log
Returns: boolean
Param | Type |
---|---|
[message] | string |
@studyportals/log.warning([message]) ⇒
Warning message (yellow)
Kind: static method of @studyportals/log
Returns: boolean
Param | Type |
---|---|
[message] | string |
@studyportals/log.error([message]) ⇒
Error message (red)
Kind: static method of @studyportals/log
Returns: boolean
Param | Type |
---|---|
[message] | string |
README.md generated at: Thu Oct 05 2017 14:42:43 GMT+0200 (CEST)