log-horizon
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -20,2 +20,8 @@ const logUpdate = require('log-update') | ||
if (this.options.debug) { | ||
this.options.logLevel = 4 | ||
} else if (this.options.quiet) { | ||
this.options.logLevel = 1 | ||
} | ||
this.icons = getIcons(this.options.statusType) | ||
@@ -22,0 +28,0 @@ } |
{ | ||
"name": "log-horizon", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "A fancy logger for CLI apps.", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -40,2 +40,14 @@ | ||
#### options.debug | ||
Type: `boolean` | ||
A shortcut to set `options.logLevel` to `4`. | ||
#### options.quiet | ||
Type: `boolean` | ||
A shortcut to set `options.logLevel` to `1`. | ||
#### options.logUpdate | ||
@@ -42,0 +54,0 @@ |
7723
131
98