From 08f64b96be9ff8ba7d95c773a633f76c15dd06e8 Mon Sep 17 00:00:00 2001 From: tb-killa Date: Fri, 10 Aug 2018 17:08:08 +0200 Subject: [PATCH] remove arrow separator --- lib/util/logger.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util/logger.js b/lib/util/logger.js index a82e681d3..2f5d16296 100644 --- a/lib/util/logger.js +++ b/lib/util/logger.js @@ -28,7 +28,7 @@ const logger = new (winston.Logger)({ timestamp: () => new Date().toLocaleString(), formatter: function(options) { return winston.config.colorize(options.level, ' zigbee2mqtt:' + options.level.toLowerCase()) + ' ' + - options.timestamp() + ' --> ' + (options.message ? options.message : '') + + options.timestamp() + ' ' + (options.message ? options.message : '') + (options.meta && Object.keys(options.meta).length ? '\n\t'+ JSON.stringify(options.meta) : '' ); }, }),