Skip to content
Browse files

Clarify how to log different levels

  • Loading branch information...
1 parent e417d59 commit 27ca3f81e3b045418a2624a617a7e43ca7cd1bdb @ubun2 ubun2 committed Jun 19, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 README.md
View
4 README.md
@@ -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 27ca3f8

Please sign in to comment.
Something went wrong with that request. Please try again.