mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-14 09:25:30 -04:00
LogFile puts timestamp before entry, CRLF after.
This commit is contained in:
parent
76845c4335
commit
bfcd25d857
5 changed files with 34 additions and 29 deletions
|
@ -33,10 +33,13 @@ public:
|
|||
bool open_for_append(const std::string file_path);
|
||||
bool close();
|
||||
bool is_ready();
|
||||
bool write(const std::string message);
|
||||
|
||||
bool write_entry(const std::string entry);
|
||||
|
||||
private:
|
||||
FIL f;
|
||||
|
||||
bool write(const std::string message);
|
||||
};
|
||||
|
||||
#endif/*__LOG_FILE_H__*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue