]>
git.r.bdr.sh - rbdr/cologne/blob - lib/formatters/simple.js
1 Module(Cobalt
.Formatter
, 'Simple')({
2 format : function (logObject
, opts
){
5 indent
= Array(logObject
._indentLevel
+ 1).join(' ');
7 date
= new Date(logObject
._timestamp
);
9 return indent
+ '[' + date
.toISOString() + '][' + logObject
._levelString
+ '] ' + logObject
._from
+ ' : ' + logObject
.message
;