How to use hapi-pino - 1 common examples

To help you get started, we’ve selected a few hapi-pino examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github DefinitelyTyped / DefinitelyTyped / types / hapi-pino / hapi-pino-tests.ts View on Github external
function example3() {
    HapiPino.register(server, {
        ignorePaths: ['/testRoute'],
        level: 'debug',
        tags: {
            trace: 'trace',
            debug: 'debug',
        },
        redact: ['test.property'],
    });
}

hapi-pino

Hapi plugin for the Pino logger

MIT
Latest version published 11 months ago

Package Health Score

70 / 100
Full package analysis

Popular hapi-pino functions