Select Git revision
log-to-file.js
-
admin-sigmundd authoredadmin-sigmundd authored
log-to-file.js 313 B
const Log = require('../index.js')
let log = new Log({
name: 'Sample-File',
file: 'file.log'
})
log.info('This is an Information')
log.notice('This is a Notice')
log.warn('This is a Warning')
log.error('This is an Error')
log.fatal('This is a Fatal Message')
log.debug('This is a Debug Message')