Conditional/Occasional Logging with Boost Log Library <p>Is there a way to do Conditional/Occasional logging with Boost Log Library? For example, log a message at every Nth passing the logging statement.</p> <p>P.S. <a href="https://google-glog.googlecode.com/svn/trunk/doc/glog.html" rel="nofollow">Google Logging Library</a> has those functions/macros: <code>LOG_EVERY_N</code>, <code>LOG_IF</code>, <code>LOG_FIRST_N</code>. But I need a library that works in Mingw-w64 (Google Logging Library is not).</p>