diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-05-14 12:53:59 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-05-14 12:53:59 -0400 |
commit | bee4194f9e12c9d2210a5ecba7249bdfe3f3deda (patch) | |
tree | 1212b2f05cea09e4fbf8f1a3c57418fb3e92fc36 /src/main.cpp | |
parent | dff1d7382f2af91e50561bfdb9eb83773ac7c010 (diff) | |
download | lingo-ap-tracker-bee4194f9e12c9d2210a5ecba7249bdfe3f3deda.tar.gz lingo-ap-tracker-bee4194f9e12c9d2210a5ecba7249bdfe3f3deda.tar.bz2 lingo-ap-tracker-bee4194f9e12c9d2210a5ecba7249bdfe3f3deda.zip |
Switch to wx logging
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index fe9aceb..db7653c 100644 --- a/src/main.cpp +++ b/src/main.cpp | |||
@@ -4,12 +4,15 @@ | |||
4 | #include <wx/wx.h> | 4 | #include <wx/wx.h> |
5 | #endif | 5 | #endif |
6 | 6 | ||
7 | #include "logger.h" | ||
7 | #include "tracker_config.h" | 8 | #include "tracker_config.h" |
8 | #include "tracker_frame.h" | 9 | #include "tracker_frame.h" |
9 | 10 | ||
10 | class TrackerApp : public wxApp { | 11 | class TrackerApp : public wxApp { |
11 | public: | 12 | public: |
12 | virtual bool OnInit() { | 13 | virtual bool OnInit() { |
14 | wxLog::SetActiveTarget(new Logger()); | ||
15 | |||
13 | GetTrackerConfig().Load(); | 16 | GetTrackerConfig().Load(); |
14 | 17 | ||
15 | TrackerFrame *frame = new TrackerFrame(); | 18 | TrackerFrame *frame = new TrackerFrame(); |