Napolean Paced Mischeviously

    koaman-logger

    1.0.2 • Public • Published

    koaman-logger

    Install

    npm i koaman-logger
     
    # or 
     
    yarn add koaman-logger

    How to use

    const Koa = require('koa')
    const logger = require('koaman-logger')
     
    const app = new Koa()
     
    app.use(logger({ path: __dirname }))
     
    app.use(async ctx => {
      ctx.logger.trace('Hello World')
     
      ctx.body = 'Hello World'
    })
     
    app.listen(3000)

    LICENSE

    MIT

    Keywords

    none

    Install

    npm i koaman-logger

    DownloadsWeekly Downloads

    3

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    3.31 kB

    Total Files

    6

    Last publish

    Collaborators

    • yyued