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

Readme.md #811

Open PentaBug opened 2 years ago

PentaBug commented 2 years ago

I am reading readme.md and found example at Occasional Logging

for (int i = 1; i <= 10; ++i) { LOG_EVERY_N(2, INFO) << "Logged every second iter"; } // 5 logs written; 2, 4, 6, 7, 10

should be // 5 logs written; 2, 4, 6, 8, 10