Permalink
Browse files

add format3.js example

  • Loading branch information...
1 parent 8dd4968 commit 79ee0906dc942fb6c655d9c532353102e910a408 @baryon committed Mar 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 example/format3.js
View
@@ -3,7 +3,7 @@ var tracer = require('tracer')
function test(id){
var logger = tracer.colorConsole(
{
- format : "{{timestamp}} " + id + " <{{title}}> {{message}}",
+ format : "{{timestamp}} " + id + " <{{title}}> {{file}}:{{line}} ({{method}}) {{message}}",
dateformat : "HH:MM:ss.L"
});
logger.log('hello');

0 comments on commit 79ee090

Please sign in to comment.