Skip to content

kanongil/nipo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nipo

Simple and opinionated Pino-based logger plugin for Hapi.js.

Node.js CI

Lead Maintainer: Gil Pedersen

Setup and configuration

await server.register({
    plugin: require('Nipo'),
    options: {
        pino: {}
    }
});

This will log JSON'ified response entries to stdout, and server and request events to stderr. To make the logs prettier while developing, install the pino-pretty module, and enable it using the transport pino option.

About

Simple and opinionated Pino-based logger plugin for Hapi.js.

Resources

Stars

Watchers

Forks

Packages

No packages published