Created
February 28, 2019 17:00
-
-
Save matheusopedro/865e78803124a65ffa9d6c43a70a4ea9 to your computer and use it in GitHub Desktop.
Implementação simples do Simple Node Logger
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'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