summaryrefslogtreecommitdiffstats
path: root/lib/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/index.js')
-rw-r--r--lib/index.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/index.js b/lib/index.js
index 283b3c3..a2c8edf 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -21,7 +21,10 @@ module.exports = {
});
var book = new Book(input, _.extend({}, {
- 'output': output
+ 'config': {
+ 'output': output
+ },
+ 'logLevel': Book.LOG_LEVELS[(kwargs.log || "info").toUpperCase()]
}));
return book.parse()