abumq / easyloggingpp

C++ logging library. It is extremely powerful, extendable, light-weight, fast performing, thread and type safe and consists of many built-in features. It provides ability to write logs in your own customized format. It also provide support for logging your classes, third-party libraries, STL and third-party containers etc.
MIT License
3.75k stars 918 forks source link

Log file Rotation - How to set the Total size of files in the target directory, in bytes, upon which the oldest file will be deleted. #854

Open rakmohanty opened 1 month ago

rakmohanty commented 1 month ago

Hello This lib is really great one to use. Here is one of the thing -where i am looking some help to implement the Total size of files in the target directory, in bytes, upon which the oldest file will be deleted. I am looking always 10files with 2MB size in maximum, then the oldest will delete .

rakmohanty commented 1 month ago

I have my call-back with a static counter.