Nuked: Probably Microwaved

    logerr

    2.0.2 • Public • Published

    loggerer

    $ npm install logerr
    
    import { ledger as log, logerr } from 'logerr'
    
    log('myLog')
    // creates myLog.log inside of ${__dirname}
    
    log.myLog('hello werld')
    // myLog.log now contains data
    
    log._suppress()
    log.myLog('not gonna be appended')
    logerr('also not gonna be appended')
    log._suppress(false)
    log.myLog('back in business')
    
    log.myLog.reset()
    // myLog.log is empty again...
    
    logerr("OMG DEFCON!")
    // err.log in ${__dirname} now contains data
    

    Install

    npm i logerr

    DownloadsWeekly Downloads

    3

    Version

    2.0.2

    License

    Unlicense

    Last publish

    Collaborators

    • papiro