I have a application that I have been working on for some time and I use spdlog for logging with it. Its been working fine until I did a update of my system and now I get a lot of errors mainly concerning fmt library. Here are some of the errors I get,
/usr/include/fmt/core.h: In instantiation of ‘c...
When I use
SPDLOG_INFO("info message to default logger");
I hope get this log
[2022-09-11 22:00:12.965] [info] [QSpdlogTest.cpp QSpdlogTest::TestFunc():56] info message to default logger
but it's output
[2022-09-11 22:00:12.965] [info] [QSpdlogTest.cpp:56] info message to default logger
I think t...
Originally submitted to fmt via fmtlib/fmt#3090 but they think it's an spdlog problem. Including the text of the bug report here for convenience:
I just did a rebase of my project, including latest upstream fmt and spdlog. It appears that fmt broke compatibility with spdlog somehow, but my C++ temp...
Hello everyone, I'm a bit confused about daily log files. What I wanna do is to log the last 48 hours and then rotate.
So I implemented the following code:
auto logger = daily_logger_format_mt("daily_logger", "logs/daily.log", 0, 0, false, 2);
But I get the error: