Replies: 1 comment
-
There is no such API. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using
str_logger = spdlog::rotating_logger_mt("r_log", "/tmp/r_log", 128*1024, 4);
to create a rotating log.
And output some logs in the file(s).
But is there a way to clear/remove all file(s) and continue logging with empty "/tmp/r_log"?
There is a "truncate" argument. But it's only working on start.
Regards,
Beta Was this translation helpful? Give feedback.
All reactions