From 33bf1f9653ed608de5554940dc8a0c3f5dc7e4ea Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Mon, 10 Jun 2024 19:13:22 -0400 Subject: Go back to old logging system Brought in libfmt to handle string formatting and replace a bunch of ostringstream uses. --- src/main.cpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index b327b25..1d7cc9e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -4,25 +4,13 @@ #include #endif -#include - #include "global.h" #include "tracker_config.h" #include "tracker_frame.h" -static std::ofstream* logfile; - class TrackerApp : public wxApp { public: virtual bool OnInit() { - logfile = new std::ofstream(GetAbsolutePath("debug.log")); - wxLog::SetActiveTarget(new wxLogStream(logfile)); - wxLog::SetVerbose(true); - -#ifndef NDEBUG - wxLog::SetActiveTarget(new wxLogWindow(nullptr, "Debug Log")); -#endif - GetTrackerConfig().Load(); TrackerFrame *frame = new TrackerFrame(); -- cgit 1.4.1