mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-16 07:23:07 +01:00
intermediate: restructure wifi,log
This commit is contained in:
12
lib/log/GwLog.h
Normal file
12
lib/log/GwLog.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#ifndef _GWLOG_H
|
||||
#define _GWLOG_H
|
||||
#include <Arduino.h>
|
||||
class GwLog{
|
||||
private:
|
||||
char buffer[100];
|
||||
bool logSerial=false;
|
||||
public:
|
||||
GwLog(bool logSerial);
|
||||
void logString(const char *fmt,...);
|
||||
};
|
||||
#endif
|
||||
Reference in New Issue
Block a user