Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.

Class drop_on_overflow

boost::log::sinks::drop_on_overflow — Log record dropping strategy.


// In header: <boost/log/sinks/drop_on_overflow.hpp>

class drop_on_overflow {


This strategy will cause log records to be discarded in case of queue overflow in bounded asynchronous sinks. It should not be used if losing log records is not acceptable.