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

fix hostname

parent 57950dc2
No related branches found
No related tags found
1 merge request!1Update index.test.js, examples/all-options.js, examples/log-to-file.js,...
......@@ -122,7 +122,7 @@ function Log (options) {
let data = JSON.stringify({
short_message: msg,
timestamp: Date.now() / 1000,
hostname: this.hostname,
host: this.hostname,
facility: this.name,
level: tag
})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment