Skip to content

Commit

Permalink
added trace and debug wrappers.
Browse files Browse the repository at this point in the history
  • Loading branch information
keverw committed Dec 13, 2012
1 parent 2341037 commit 22362d1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions client/node/eventLogger.js
Expand Up @@ -47,6 +47,14 @@ var eventLogger = {
fs.writeFile(this.logPath + '/' + uuid + '.json', fileContents, 'utf8');
}
},
trace: function(data, category, sortCode)
{
return this._writeLog(0, category, sortCode, data);
},
debug: function(data, category, sortCode)
{
return this._writeLog(1, category, sortCode, data);
},
info: function(data, category, sortCode)
{
return this._writeLog(2, category, sortCode, data);
Expand Down

0 comments on commit 22362d1

Please sign in to comment.