Permalink
Browse files

first commit, works, havent tested on older browsers

  • Loading branch information...
1 parent bc3b057 commit 16ea9aad0256c0375f3d5650d3aea2cbb2a94ee5 @lancejpollard committed Oct 22, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 README.md
View
@@ -13,10 +13,10 @@ npm install common-logger
``` coffeescript
logger = new CommonLogger
logger.colors[CommonLogger.WARN] = CommonLogger.ANSI.RED
-logger.info
+logger.info "Hello %s", "World"
logger.bench 1000 -> 1 + 1
-logger.on "frame", (fps) ->
- $("#log-line-template").tmpl(fps).appendTo("#log-panel")
+logger.on "frame" ->
+ $("#log-line-template").tmpl(@fps).appendTo("#log-panel")
logger.on "message", (data) ->
$("#log-line-template").tmpl(data).appendTo("#log-panel")

0 comments on commit 16ea9aa

Please sign in to comment.