Gabi Melman
Gabi Melman
It works as long as there are params. Not related to direct uses. Fwiw “replace all” works pretty well with any IDE :)
So perhaps redefine the macro after including spdlog.h or replace all code with custom macro name that does nothing, so it would be easy to revert
Rotation occurs once there is a new log message after the rotation time. There is no bg thread that does this automatically.
Why ? Are you using custom time stamps for the log?
So perhaps the machine time is wrong?
Please provide minimal code to reproduce. It is hard to guess otherwise whats wrong
Please post the code directly here. So it is visible easily for everyone.
“05/25/25 23:59:51” is after the log creation time. If the logger was created after 23:59 it is expected
Hard to tell (init called twice? from different threads ? which macros where used?). Perhaps add small main to really reproduce
Which compiler and version?