[Hypfer/Valetudo] Add logger (#430)

From: notifications@github.com
Domain: IP info github.com
MX-server: IP info out-27.smtp.github.com
Size: 4053 Bytes
Create: 2020-02-15
Update: 2020-02-15
Score: 0
Safe: Yes

Outbound domains: github.com |

It adds timestamps and the log level to the messages and then redirects them to the console.
Loglevel can be configured in valetudo config.json

closes #154


You can view, comment on, or merge this pull request online at:

  https://github.com/Hypfer/Valetudo/pull/430

Commit Summary

  • Add logger

File Changes

  • M index.js (7)
  • M lib/Configuration.js (12)
  • A lib/Logger.js (83)
  • M lib/MqttClient.js (31)
  • M lib/RRMapParser.js (4)
  • M lib/Valetudo.js (15)
  • M lib/miio/Codec.js (3)
  • M lib/miio/Dummycloud.js (13)
  • M lib/miio/Vacuum.js (10)
  • M lib/webserver/WebServer.js (13)

Patch Links:

  • https://github.com/Hypfer/Valetudo/pull/430.patch
  • https://github.com/Hypfer/Valetudo/pull/430.diff


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Want to protect your real email from messages like this? Use TempM email and be more secure on the internet.