How to use the winston-uber.warn function in winston-uber

To help you get started, we’ve selected a few winston-uber 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 uber / sentry-logger / index.js View on Github external
options.onRavenError : function (e) {
            // do not warn() on 429 errors
            if (e.message.indexOf('429') >= 0) {
                return;
            }

            winston.warn('Raven failed to upload to Sentry: ', {
                message: e.message,
                stack: e.stack,
                reason: e.reason,
                statusCode: e.statusCode
            });
        };

winston-uber

A multi-transport async logging library for Node.js

MIT
Latest version published 8 years ago

Package Health Score

67 / 100
Full package analysis