robotastic / ble-ancs

A NodeJS library for Apple Notification Center Service over BLE
MIT License
80 stars 15 forks source link

Use debug() instead of console.log() in index.js #5

Open sander opened 9 years ago

sander commented 9 years ago

This makes it easier to build a script upon index.js that sends all notifications to stdout, without being mixed with the output of index.js.

To see debug messages, set the DEBUG env variable to either ble-ancs:status, ble-ancs:notifications or ble-ancs:*.