Logging support for Node
npm install @studyportals/node-logLogging support for Node
* @studyportals/log
* .VERBOSITY : enum
* .setVerbosity(x) ⇒
* [.debug([message])](#module_@studyportals/log.debug) ⇒
* [.info([message])](#module_@studyportals/log.info) ⇒
* [.warning([message])](#module_@studyportals/log.warning) ⇒
* [.error([message])](#module_@studyportals/log.error) ⇒
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 |
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 |
Kind: static method of @studyportals/log
Returns: boolean
| Param | Type |
| --- | --- |
| [message] | string |
Kind: static method of @studyportals/log
Returns: boolean
| Param | Type |
| --- | --- |
| [message] | string |
Kind: static method of @studyportals/log
Returns: boolean
| Param | Type |
| --- | --- |
| [message] | string |
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)_