Skip to content

Commit

Permalink
Use debug module instead of console.log to avoid excessive logging (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
chacal authored Aug 19, 2021
1 parent d235c27 commit 0970f08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion raymarinen2k.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ module.exports = function(app) {
timers.push(setInterval(() => {
const msg = util.format(keep_alive2, (new Date()).toISOString(),
default_src)
console.log('sending keep_alive: ' + msg)
app.debug('sending keep_alive: ' + msg)
app.emit('nmea2000out', msg)
}, 2000))
}
Expand Down

0 comments on commit 0970f08

Please sign in to comment.