Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add logging library #5

Open
cr1tbit opened this issue Nov 18, 2022 · 0 comments
Open

Add logging library #5

cr1tbit opened this issue Nov 18, 2022 · 0 comments
Assignees

Comments

@cr1tbit
Copy link

cr1tbit commented Nov 18, 2022

I'm terrified by the available logging libraries in platformio. I'm seriously considering writing my own.

Requirements:

  • COLORS
  • Adding own backends (log to serial, flash, mqtt, display, etc.)
  • Handling both Strings, StringHelpers and basic formatted strings.
  • Many levels, customisable levels

I already wrote a simple logging framework based on https://github.com/rxi/log.c and It's relatively simple task.

For now I'm testing ArduinoLog on another firmware, but I'm not really happy with it. The project is dead, there are some interesting features in pull requests, but since we're stuck in platformio environment, I can't even include those. Sucks to suck.

@cr1tbit cr1tbit self-assigned this Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant