Skip to content

Commit

Permalink
add format3.js example
Browse files Browse the repository at this point in the history
  • Loading branch information
baryon committed Mar 7, 2012
1 parent 8dd4968 commit 79ee090
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/format3.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 79ee090

Please sign in to comment.