Add file logger and fix log level output #9

Merged
moritz merged 3 commits from improve-logging into master 2023-11-19 13:27:21 +00:00
Showing only changes of commit 8dca805801 - Show all commits

View File

@@ -141,7 +141,7 @@ void PtouchPrint::setupLogger(spdlog::level::level_enum lvl) {
void PtouchPrint::setupCliParser() {
auto printVersion = [this](std::size_t) {
fmt::println("ptprnt version: {}", mVersionString);
fmt::print("ptprnt version: {}\n", mVersionString);
};
// General options