Skip to content
Snippets Groups Projects
Commit fa899822 authored by 's avatar
Browse files

Initial

parents
No related branches found
No related tags found
1 merge request!1Update index.test.js, examples/all-options.js, examples/log-to-file.js,...
const log = require('../index.js')({
name: 'Sample-Application',
hostname: 'test-server'
})
log.info('This is an Information')
log.warn('This is a Warning')
log.error('This is an Error')
log.debug('This is a Debug Message')
\ No newline at end of file
const log = require('../index.js')({
name: 'Sample-File',
file: 'file.log'
})
log.info('This is an Information')
log.warn('This is a Warning')
log.error('This is an Error')
log.debug('This is a Debug Message')
\ No newline at end of file
const log = require('../index.js')()
log.info('This is an Information')
log.warn('This is a Warning')
log.error('This is an Error')
log.debug('This is a Debug Message')
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment