Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

browser

  • Loading branch information...
commit 2327637324bfafd3e798b666a1bffc6dcd6712f9 1 parent a30ce6d
@lancejpollard authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 README.md
View
5 README.md
@@ -41,7 +41,10 @@ logger.error "ERROR!"
logger.fatal "oh man..."
# set a custom `out` method, which defaults to `console.log`
-logger.out = (message) -> alert(message)
+logger.out = (message) -> alert(message)
+
+# customize the format too if you'd like, which defaults to `[date] level message`
+logger.format = (date, level, message) -> message
# watch the fps to see how your app is performing (`this` is the `CommonLogger.Timer` object)
logger.on "frame" ->

0 comments on commit 2327637

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