bunyan-logstash
Advanced tools
Comparing version 0.1.2 to 0.2.0
@@ -44,2 +44,3 @@ var bunyan = require('bunyan'); | ||
this.tags = options.tags || ["bunyan"]; | ||
this.type = options.type; | ||
@@ -85,2 +86,6 @@ this.client = null; | ||
if (typeof(this.type) === 'string') { | ||
msg['@type'] = this.type; | ||
} | ||
delete rec.time; | ||
@@ -87,0 +92,0 @@ delete rec.msg; |
{ | ||
"name": "bunyan-logstash", | ||
"version": "0.1.2", | ||
"version": "0.2.0", | ||
"description": "Logstash plugin for Bunyan", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/sheknows/bunyan-logstash.git", |
4961
94