Skip to content

Commit

Permalink
#38: Updated name of logging file
Browse files Browse the repository at this point in the history
  • Loading branch information
OOPMan committed Jul 26, 2022
1 parent 334c83c commit 321abfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion XBOFS.win.qt/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ int main(int argc, char *argv[])
// Configure logging
spdlog::set_pattern("[%Y-%m-%d %H:%M:%S.%e] [%t] [%n] [%l] %v");
spdlog::flush_every(std::chrono::seconds(1));
auto rotatingFileSink = std::make_shared<spdlog::sinks::rotating_file_sink_mt>("xbofs.win.qt5.log", 1024 * 1024 * 10, 10);
auto rotatingFileSink = std::make_shared<spdlog::sinks::rotating_file_sink_mt>("xbofs.win.log", 1024 * 1024 * 10, 10);
auto sinks = std::vector<spdlog::sink_ptr>{ rotatingFileSink };
auto logger = XBOFSWin::get_logger("XBOFS.Win", sinks);
logger->info("Logging initialised");
Expand Down

0 comments on commit 321abfd

Please sign in to comment.