Permalink
Browse files

just a demo-ish script for testing right now

  • Loading branch information...
1 parent 1306f39 commit 9a89f08bdfc2a091d6eafc7f518e7a579aea7e7e @pquerna committed Mar 19, 2011
Showing with 8 additions and 0 deletions.
  1. +8 −0 t.js
View
8 t.js
@@ -0,0 +1,8 @@
+var logmagic = require('logmagic');
+var log = logmagic.local('mylib.foo.bar');
+console.log(log);
+log.info("Hello!");
+log.error("Accepts format strings too ${SOME_VAR}", {SOME_VAR: "myvalue"});
+log.trace("testing trace v0");
+logmagic.route("__root__", logmagic.TRACE1, "console");
+log.trace("testing trace v1");

0 comments on commit 9a89f08

Please sign in to comment.