about summary refs log tree commit diff stats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2024-06-09 20:10:34 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2024-06-09 20:10:34 -0400
commita73c733a387701b9bfe5528f93bf628d971c3641 (patch)
tree416c29f28ad7aeb65063d682d1086928eaa1bd2d /src/main.cpp
parent8c27e45ef690a58c2aa5241d76f5389ce9659435 (diff)
downloadlingo-ap-tracker-a73c733a387701b9bfe5528f93bf628d971c3641.tar.gz
lingo-ap-tracker-a73c733a387701b9bfe5528f93bf628d971c3641.tar.bz2
lingo-ap-tracker-a73c733a387701b9bfe5528f93bf628d971c3641.zip
Increase logging
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
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