Files
arduino/src/Main/PrintLog.h
2024-04-04 18:35:15 +07:00

25 lines
417 B
C++

#ifndef _PRINT_LOG_H_
#define _PRINT_LOG_H_
#include <Arduino.h>
class PrintLog
{
private:
Stream &log;
String tag;
public:
PrintLog(Stream &log, String tag);
~PrintLog();
void logInfo(String info);
void logInfo(const char* info);
void logError(String err);
void logError(const char* err);
void logWarning(String warning);
void logWarning(const char* warning);
};
#endif /** _PRINT_LOG_H_ */