How to use the triple-beam.MESSAGE function in triple-beam

To help you get started, we’ve selected a few triple-beam 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 winstonjs / winston-daily-rotate-file / daily-rotate-file.js View on Github external
'use strict';

var fs = require('fs');
var os = require('os');
var path = require('path');
var util = require('util');
var zlib = require('zlib');
var hash = require('object-hash');
var MESSAGE = require('triple-beam').MESSAGE;
var PassThrough = require('stream').PassThrough;
var Transport = require('winston-transport');

var loggerDefaults = {
    json: false,
    colorize: false,
    eol: os.EOL,
    logstash: null,
    prettyPrint: false,
    label: null,
    stringify: false,
    depth: null,
    showLevel: true,
    timestamp: function () {
        return new Date().toISOString();
    }

triple-beam

Definitions of levels for logging purposes & shareable Symbol constants.

MIT
Latest version published 1 year ago

Package Health Score

68 / 100
Full package analysis