Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[fix] Assign logger correctly

  • Loading branch information...
commit 1d72400321326481d071daba9d26f4e51a14bbea 1 parent 52245a3
@indexzero indexzero authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/cliff.js
View
4 lib/cliff.js
@@ -30,7 +30,9 @@ cliff.__defineSetter__('logger', function (val) {
//
// Set the default logger for cliff.
//
-cliff.logger = new winston.Logger();
+cliff.logger = new winston.Logger({
+ transports: [new winston.transports.Console()]
+});
//
// Expose a default `eyes` inspector.
Please sign in to comment.
Something went wrong with that request. Please try again.