You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm using RotatingFileSink for rotating log files.
Sink creation:
I'm getting
my_telemetry.log
,my_telemetry_1.log
,my_telemetry_2.log
...my_telemetry_64.log
, rotating as expected.But, I need the files to have unique names and I didn't find a way to do it in the
spdlog-rs
.In our
CPP
project, thespdlog::sinks::rotating_file_sink
have unique file names usingfile_event_handlers.after_close
:Is there a similar way to make unique file manes in the RotatingFileSink?
Beta Was this translation helpful? Give feedback.
All reactions