intval3/lib/log/Readme.md

14 lines
441 B
Markdown
Raw Permalink Normal View History

2017-09-25 02:27:53 +00:00
<a name="createLog"></a>
## createLog(label, filename) ⇒ <code>object</code>
createLog() - Returns a winston logger configured to service
**Kind**: global function
**Returns**: <code>object</code> - Winston logger
| Param | Type | Default | Description |
| --- | --- | --- | --- |
| label | <code>string</code> | | Label appearing on logger |
| filename | <code>string</code> | <code>null</code> | Optional file to write log to |