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); |
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 | |
}; | |
const AbstractAppender = SimpleNodeLogger.AbstractAppender, | |
manager = new SimpleNodeLogger(opts); |
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
{ | |
"level": "info", | |
"message": "{\"acaoUsuario\":\"LOGIN\",\"sucesso\":true,\"versao\":\"1.2.3\"}", | |
"timestamp": "2019-01-07T16:50:30.799Z" | |
} |
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
{ | |
"_index": "filebeat-6.5.4-2019.01.21", | |
"_type": "doc", | |
"_id": "AWhwgQCKtRO3GsqFILPl", | |
"_version": 1, | |
"_score": null, | |
"_source": { | |
"@timestamp": "2019-01-21T13:02:08.029Z", | |
"input": { | |
"type": "log" |
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
filebeat.inputs: | |
# Each - is an input. Most options can be set at the input level, so | |
# you can use different inputs for various configurations. | |
# Below are the input specific configurations. | |
- type: log | |
# Change to true to enable this input configuration. | |
enabled: true |
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
/* | |
* Arquivo usado para teste do programa. | |
* Arquivo original: | |
* https://github.com/jelathro/C/blob/master/HashTable/HashTable.c | |
* | |
* | |
* @author: jelathro | |
* @date: 11/2/13 | |
* | |
* Implementation file for HashTable. |