Read log level from configuration and update readme

- Break out reading of settings in js and remove it from shell scripts
- Pick up config from Logger via Configuration class
This commit is contained in:
Victor Hagelbäck 2021-01-21 23:40:59 +01:00
parent 4176cfb714
commit 1b55cabf63
7 changed files with 90 additions and 34 deletions

View file

@ -10,6 +10,7 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
COPY ./api.js /plejd/
COPY ./ble.bluez.js /plejd/
COPY ./config.json /plejd/
COPY ./Configuration.js /plejd/
COPY ./Logger.js /plejd/
COPY ./main.js /plejd/
COPY ./mqtt.js /plejd/