Boost C++ Libraries

...one 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.
PrevUpHomeNext

Class drop_on_overflow

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

Synopsis

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


class drop_on_overflow {
};

Description

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.


PrevUpHomeNext