about summary refs log tree commit diff stats
path: root/src/logger.h
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2024-05-15 13:19:34 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2024-05-15 13:19:34 -0400
commit0c7cb22f3da56fde00f981f9fefb971c541bc8f1 (patch)
tree956337030ead4d59ec74480280f64d39a4b9e6d4 /src/logger.h
parent3151ac6274e796f54f2d9269186f1fd2e69f90c3 (diff)
downloadlingo-ap-tracker-0c7cb22f3da56fde00f981f9fefb971c541bc8f1.tar.gz
lingo-ap-tracker-0c7cb22f3da56fde00f981f9fefb971c541bc8f1.tar.bz2
lingo-ap-tracker-0c7cb22f3da56fde00f981f9fefb971c541bc8f1.zip
Logging changes
Diffstat (limited to 'src/logger.h')
-rw-r--r--src/logger.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/logger.h b/src/logger.h deleted file mode 100644 index b1a1d99..0000000 --- a/src/logger.h +++ /dev/null
@@ -1,29 +0,0 @@
1#ifndef LOGGER_H_6E7B9594
2#define LOGGER_H_6E7B9594
3
4#include <wx/wxprec.h>
5
6#ifndef WX_PRECOMP
7#include <wx/wx.h>
8#endif
9
10#include <fstream>
11#include <mutex>
12
13class Logger : public wxLog {
14 public:
15 Logger();
16
17 void Flush() override;
18
19 ~Logger();
20
21 protected:
22 void DoLogText(const wxString& msg) override;
23
24 private:
25 std::ofstream logfile_;
26 std::mutex file_mutex_;
27};
28
29#endif /* end of include guard: LOGGER_H_6E7B9594 */