Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Build logger stream configuration by type, for 'file' and 'rotate'
- * additionally save a log for error levels.
- * @private
- * @param {string} type - Supported types are 'file', 'rotate' and 'stream'
- * if it's not specified or is false the stream will disabled
- * @param {object} options - the parameters for define a stream
- * @param {string} [options.name] - An optional instance name of alert `emailStream`
- * @param {(boolean|object|string[])} [options.alerts] - if `alerts` is `true` and `alertsEmails`...
- * @param {object} options.config - server configuration with logger options, see {@link Logger#setup}
- * @returns {object} logger streams configuration
- */
- function myFunction(type, options = {}) {
- }
Add Comment
Please, Sign In to add comment