lora-aprs / LoRa_APRS_iGate

This is a LoRa APRS iGate/Digi based on an ESP32

Home Page:https://www.lora-aprs.info

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simplify logging

mdiepart opened this issue · comments

I think that the current way of logging is sub-optimal because we have to pass a System class every time we want to log something and the command to print a log statement is ridiculously long, makign debugging quite difficult.

It would be nice to have a simple header that we can include to have access to all the log commands (info, debug, warn,...)

However, I saw that several libraries are tied to the current way of logging (System and logging libraries are two PlatformIO libraries that are not on this repository but used mainly for this project). I do not know how we could do this in such a way that we keep a consistency between the different versions ?

It would be nice to discuss about that here. If needed I can of course help doing this.