mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-21 12:55:22 +00:00
Add console-stamp to node-logger
This commit is contained in:
@@ -8,6 +8,9 @@
|
||||
*/
|
||||
(function (root, factory) {
|
||||
if (typeof exports === 'object') {
|
||||
// add timestamps in front of log messages
|
||||
require("console-stamp")(console, "yyyy-mm-dd HH:MM:ss.l");
|
||||
|
||||
// Node, CommonJS-like
|
||||
module.exports = factory(root.config);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user