From 3da41a644c8eed7187a961285f185f81b53cf369 Mon Sep 17 00:00:00 2001 From: Amit Thakkar Date: Fri, 9 Oct 2015 15:55:27 -0700 Subject: [PATCH] #12 returning data from logMain functions, so all test cases can pass. --- lib/console.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/console.js b/lib/console.js index c550025..65b148d 100644 --- a/lib/console.js +++ b/lib/console.js @@ -64,7 +64,7 @@ function logMain(config, level, title, format, filters, needstack, args) { config.transport.forEach(function(tras) { tras(data); }); - return; + return data; } module.exports = (function() { diff --git a/package.json b/package.json index 3b4b39b..dbbe158 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "type": "git", "url": "git://github.com/baryon/tracer.git" }, - "version": "0.8.0", + "version": "0.8.1", "author": "LI Long ", "license": "MIT", "dependencies": {