-
Notifications
You must be signed in to change notification settings - Fork 12
Logger
Zoltan Tarcsay edited this page Oct 10, 2015
·
1 revision
Creates a new winston Logger
Kind: global function
Param | Type | Default | Description |
---|---|---|---|
[level] | string |
"error" |
Log level |
[id] | string |
An optional ID that gets added to the log message |
Example
var logger = require('openam-agent').logger('info', 'myLogger');
logger.info('hello world!');