jandelgado / log4arduino

lightweight, no-frills logging library for Arduino and friends.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I'd like to add support for Log levels

MatiasMFM2001 opened this issue · comments

Hi again!

I'm aware of what README.md says. But I was wondering some ways to implement that feature, without adding much CPU/Flash/RAM usage (I can give you details if you like the idea)
By default, level code will not be included, because user must #define ENABLE_LOG4ARDUINO_LEVELS first

About YAGNI, I understand this would add some bloat to the library, even if user does not use ENABLE_LOG4ARDUINO_LEVELS, because there are now more use-cases we have to test with every future update
And if I really need levels functionality, there are more logging libraries available I can use

What do you think?

So what is your idea?