Skip to content
Snippets Groups Projects
Commit 358b4026 authored by Sigmund, Dominik's avatar Sigmund, Dominik
Browse files

minor error

parent d99adb13
Branches
Tags
1 merge request!1Update index.test.js, examples/all-options.js, examples/log-to-file.js,...
...@@ -156,7 +156,7 @@ function Log (options) { ...@@ -156,7 +156,7 @@ function Log (options) {
return localISOTime.split('.')[0].trim() return localISOTime.split('.')[0].trim()
} }
this.graylogEmit = function (message, level) { this.graylogEmit = function (message, level) {
gelf.emit('gelf.log', { this.graylogger.emit('gelf.log', {
"short_message": message, "short_message": message,
"timestamp": Date.now() / 1000, "timestamp": Date.now() / 1000,
"level": level, "level": level,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment