diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-06-09 20:10:34 -0400 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-06-09 20:10:34 -0400 |
| commit | a73c733a387701b9bfe5528f93bf628d971c3641 (patch) | |
| tree | 416c29f28ad7aeb65063d682d1086928eaa1bd2d | |
| parent | 8c27e45ef690a58c2aa5241d76f5389ce9659435 (diff) | |
| download | lingo-ap-tracker-a73c733a387701b9bfe5528f93bf628d971c3641.tar.gz lingo-ap-tracker-a73c733a387701b9bfe5528f93bf628d971c3641.tar.bz2 lingo-ap-tracker-a73c733a387701b9bfe5528f93bf628d971c3641.zip | |
Increase logging
| -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 | ||
