Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Available log methods are bound by the output _levels. Levels was mis…

…sing the basic 'log' level as well as some expected console api methods like warn. Modified to use warn and info for warn and info, and add log to the levels to resolve 'log has no method log' issue #12
  • Loading branch information...
commit bc4212e067e696203f180944e1e1b640db7aa920 1 parent c7a239e
@kwarismian kwarismian authored
Showing with 5 additions and 3 deletions.
  1. +5 −3 lib/log.js
8 lib/log.js
@@ -7,9 +7,11 @@ var util = require('util')
_levels = {
'debug': 'log'
-, 'info': 'log'
-, 'notice': 'log'
-, 'warning': 'error'
+, 'log' : 'log'
+, 'info': 'info'
+, 'notice': 'info'
+, 'warning': 'warn'
+, 'warn': 'warn'
, 'error': 'error'
, 'critical': 'error'
, 'alert': 'error'
Please sign in to comment.
Something went wrong with that request. Please try again.