Skip to content
Snippets Groups Projects
Select Git revision
  • fa899822e4f313cd169f9d05f074434993f39c14
  • main default protected
  • 3.1.7
  • 3.1.6
  • 3.1.5
  • 3.1.4
  • 3.1.3
  • 3.1.2
  • 3.1.1
  • 3.1.0
  • 2.14.0
  • 2.13.5
  • 2.13.4
  • 2.13.3
  • 2.13.2
  • 2.13.0
  • 2.12.1
  • 2.12.0
  • 2.11.0
  • 2.10.1
  • 2.10.0
  • 2.9.1
22 results

log-to-file.js

Blame
  • log-to-file.js 222 B
    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')