Permalink
Browse files

browser

  • Loading branch information...
1 parent 56a185a commit 5f928b22b4916e114b7a703beef7147677221c72 @lancejpollard committed Oct 22, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 README.md
View
@@ -27,6 +27,9 @@ CommonLogger = require('common-logger')
``` coffeescript
logger = new CommonLogger
+# set the log level so anything above this won't show up
+logger.level = CommonLogger.DEBUG
+
# override default colors for any of the log levels
logger.colors[CommonLogger.WARN] = CommonLogger.ANSI.RED

0 comments on commit 5f928b2

Please sign in to comment.