Small Todos for the next session, some clean up
Some checks failed
Build ptprnt / build (push) Failing after 32s

This commit is contained in:
2024-04-28 20:44:13 +02:00
parent 59ef4189c4
commit f702ec5473
5 changed files with 9 additions and 12 deletions

View File

@@ -178,7 +178,8 @@ void PtouchPrint::setupLogger(spdlog::level::level_enum lvl) {
consoleSink->set_level(lvl);
if (spdlog::level::level_enum::debug == lvl || spdlog::level::level_enum::trace == lvl) {
// This will enable file and line number for debug and trace macros
consoleSink->set_pattern("%^%L:%$ %v (%s:%#)");
// TODO: line number and functions only work with macros
consoleSink->set_pattern("%^%L:%$ %v");
} else {
consoleSink->set_pattern("%^%L:%$ %v");
}