mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
parent
3de2f3d1da
commit
9db1166ce0
@ -30,8 +30,8 @@ var log = module.exports = {
|
||||
},
|
||||
|
||||
log: function(msg) {
|
||||
logHandlers.each(function() {
|
||||
logHandlers[i].emit("log",msg);
|
||||
logHandlers.forEach(function(handler) {
|
||||
handler.emit("log",msg);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user