diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index abe6626..b327b25 100644 --- a/src/main.cpp +++ b/src/main.cpp | |||
@@ -17,9 +17,9 @@ class TrackerApp : public wxApp { | |||
17 | virtual bool OnInit() { | 17 | virtual bool OnInit() { |
18 | logfile = new std::ofstream(GetAbsolutePath("debug.log")); | 18 | logfile = new std::ofstream(GetAbsolutePath("debug.log")); |
19 | wxLog::SetActiveTarget(new wxLogStream(logfile)); | 19 | wxLog::SetActiveTarget(new wxLogStream(logfile)); |
20 | wxLog::SetVerbose(true); | ||
20 | 21 | ||
21 | #ifndef NDEBUG | 22 | #ifndef NDEBUG |
22 | wxLog::SetVerbose(true); | ||
23 | wxLog::SetActiveTarget(new wxLogWindow(nullptr, "Debug Log")); | 23 | wxLog::SetActiveTarget(new wxLogWindow(nullptr, "Debug Log")); |
24 | #endif | 24 | #endif |
25 | 25 | ||