18 void logToConsole (
const uint32_t timestamp,
const char* client, uint8_t log_level,
const char* msg);
19 void logToFile (fs::FS &fs, uint8_t mode,
const char* client, uint8_t log_level,
const char*
file,
const char* msg);
Definition system_logger.h:15
void readLogFile(fs::FS &fs, const char *file)
read log file to console
Definition system_logger.cpp:73
void logToFile(fs::FS &fs, uint8_t mode, const char *client, uint8_t log_level, const char *file, const char *msg)
write event logs to file
Definition system_logger.cpp:13
const char * getLogLevelString(uint8_t log_level)
convert the log level to string
Definition system_logger.cpp:95
SerialFlashFile file
Definition main.cpp:749