BlynkLog (community library)
Summary
Name | Value |
---|---|
Name | BlynkLog |
Version | 0.1.0 |
Installs | |
License | MIT |
Author | Georges Auberger |
URL | https://github.com/georges/BlynkLog |
Repository | https://github.com/georges/BlynkLog.git |
Download | .tar.gz |
Particle logger output to Blynk Terminal Widget Prints logs to a Blynk Terminal Widget.
Example Build Testing
Device OS Version:
This table is generated from an automated build. Success only indicates that the code compiled successfully.
Library Read Me
This content is provided by the library maintainer and has not been validated or approved.
BlynkLog
A Particle library for logging to Blynk terminal wiget.
Usage
Create a logger and pass it an instance of a terminal widget.
#include <blynk.h>
#include "BlynkLog.h"
WidgetTerminal terminal(V0);
BlynkLog blynkLog((Stream*)&terminal);
void loop() {
blynkLog.info("Hello world");
}
See the examples folder for more details.
Logging format
The library automatically adds timestamp, log level and category. To configure the timestamp format, use
Time.setFormat("%m/%d %H:%M");
For brievety, log level is abreviated to first letter. For example
02/14 14:23 I: app This is an info level log line
Browse Library Files