Skip to content

Instantly share code, notes, and snippets.

@matheusopedro
Created February 28, 2019 17:00
Show Gist options
  • Save matheusopedro/865e78803124a65ffa9d6c43a70a4ea9 to your computer and use it in GitHub Desktop.
Save matheusopedro/865e78803124a65ffa9d6c43a70a4ea9 to your computer and use it in GitHub Desktop.
Implementação simples do Simple Node Logger
'use strict';
const SimpleNodeLogger = require('simple-node-logger');
const loggerConstants = require('./logger.constants');
const opts = {
timestampFormat: loggerConstants.emptyFormat,
level: loggerConstants.logLevel
};
module.exports = SimpleNodeLogger.createSimpleLogger(opts);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment