Logging library with message stored
Posted: Fri Jan 04, 2019 1:40 pm
Until now I use Serial.println() function on my project to debug it.
However on my project I use a NodeMCU to create a websever and I have a html page, so I'd like show debug messages inside a textarea then with javascript code I'd like refresh the textarea to upgrade the messages.
Is there a simple library for logging that allow to use Serial.println() but also to save message for using them with my textarea?
There could be problems with memory, but in this case the library would be save only last messages (for example last 30 or 50 messages).
However on my project I use a NodeMCU to create a websever and I have a html page, so I'd like show debug messages inside a textarea then with javascript code I'd like refresh the textarea to upgrade the messages.
Is there a simple library for logging that allow to use Serial.println() but also to save message for using them with my textarea?
There could be problems with memory, but in this case the library would be save only last messages (for example last 30 or 50 messages).