createLog(label, filename) ⇒ object
createLog() - Returns a winston logger configured to service
Kind: global function
Returns: object
- Winston logger
Param |
Type |
Default |
Description |
label |
string |
|
Label appearing on logger |
filename |
string |
null |
Optional file to write log to |