|
TinyRobotics
|
Simple, cross-platform logger for Arduino and C++ environments. More...
#include <LoggerClass.h>
Public Types | |
| enum | Level { ERROR = 0 , WARN = 1 , INFO = 2 , DEBUG = 3 } |
Protected Member Functions | |
| void | vlog (Level level, const char *fmt, va_list args) |
| const char * | levelToString (Level level) const |
Protected Attributes | |
| Level | minLevel |
Simple, cross-platform logger for Arduino and C++ environments.
This class provides a lightweight logging facility with support for log levels (ERROR, WARN, INFO, DEBUG), printf-style formatting, and platform-adaptive output (Serial for Arduino, printf for standard C++). It is designed for embedded and robotics applications where monitoring, debugging, and event tracking are essential.
TRLogger) for convenience