Skip to content

Commit

Permalink
browser
Browse files Browse the repository at this point in the history
  • Loading branch information
lancejpollard committed Oct 22, 2011
1 parent 56a185a commit 5f928b2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Expand Up @@ -27,6 +27,9 @@ CommonLogger = require('common-logger')
``` coffeescript ``` coffeescript
logger = new CommonLogger 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 # override default colors for any of the log levels
logger.colors[CommonLogger.WARN] = CommonLogger.ANSI.RED logger.colors[CommonLogger.WARN] = CommonLogger.ANSI.RED


Expand Down

0 comments on commit 5f928b2

Please sign in to comment.