diff options
| author | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2020-09-20 19:47:28 +0200 |
|---|---|---|
| committer | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2020-09-20 19:47:28 +0200 |
| commit | 58906d77975b35fe93569f8083b90140124f9c41 (patch) | |
| tree | 36ec38adf065424d547ef73d014913c503ab40fe /lib/formatters/simple.js | |
| parent | 4b10e604bf4057d7ae8286151d7528d7d7ae1cb9 (diff) | |
Recover from npm package
Diffstat (limited to 'lib/formatters/simple.js')
| -rw-r--r-- | lib/formatters/simple.js | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/formatters/simple.js b/lib/formatters/simple.js deleted file mode 100644 index 9eb6bbe..0000000 --- a/lib/formatters/simple.js +++ /dev/null @@ -1,11 +0,0 @@ -Module(Cobalt.Formatter, 'Simple')({ - format : function (logObject, opts){ - var indent, date; - - indent = Array(logObject._indentLevel + 1).join(' '); - - date = new Date(logObject._timestamp); - - return indent + '[' + date.toISOString() + '][' + logObject._levelString + '] ' + logObject._from + ' : ' + logObject.message; - } -}); |