Class Logger
Defined in File Logger.hpp
Class Documentation
-
class Logger
Class used to log data to micro-SD card.
Public Functions
-
Logger()
Constructor
-
Logger(std::string logFile, std::string fileType = "txt")
Constructor
- Parameters
logFile –
fileType –
-
void log(std::string message, bool endl = false)
Logs a new message to the file
- Parameters
message – the message to be logged
endl – whether or not to add a new line after the message
-
void close()
Closes the logger
-
Logger()