* Log to server with log levels
I've added a field to config.json where the user can select which
log level they're interested in. By default if the value is missing
or 'NONE' no logs will be sent to the server.
All messages passed to log.sh now takes two parameters the message and
the level. I took the liberty to set all logs except in four places where
I think WARN is appropriate.
I also made sure that the json response that is logged early in
trmnlloop.sh is escaped correctly.
* Make NONE default if LogToServer is missing in config.json
* Fixed bug when calling logToServer.sh
Accidentally didn't expand the parameter.
* Add support for force connect and ignore errors
* ignore error logic
* Fix the wrong logic
---------
Co-authored-by: Caner Çalışkaner <caner.caliskaner@kindly.ai>
Added Kobo Touch and also a suggestion on installing Kobostuff. This had me stumped for a good few minutes and there's also another issue regarding this.