offsnore / wundernode

Node API for Weather Underground
MIT License
28 stars 11 forks source link

Adding formatting and debug to log statements #19

Closed patrickvalle closed 9 years ago

patrickvalle commented 9 years ago

Suggest using a common log function that prepends something indicating the message originates from WunderNode. Make all log statements read from the debug flag instead of just some- especially the one spitting out the API key to the console.