Permalink
Browse files

Merge pull request #146 from johnnywengluu/patch-6

Clarify how to log different levels
  • Loading branch information...
2 parents 777a52a + 27ca3f8 commit 14fb9e3a4113842b82ebc9db71c8d3a84bac8114 @mmalecki mmalecki committed Jun 19, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 README.md
View
@@ -224,7 +224,11 @@ Setting the level for your logging message can be accomplished in one of two way
// Any logger instance
//
logger.log('info', "127.0.0.1 - there's no place like home");
+ logger.log('warn', "127.0.0.1 - there's no place like home");
+ logger.log('error', "127.0.0.1 - there's no place like home");
logger.info("127.0.0.1 - there's no place like home");
+ logger.warn("127.0.0.1 - there's no place like home");
+ logger.error("127.0.0.1 - there's no place like home");
//
// Default logger

0 comments on commit 14fb9e3

Please sign in to comment.