Exemple #1
0
        inline void SwitchTo() {
            CurrentCtx_.SwitchTo(&FilterCtx_);

            if (!!ShitHappen_) {
                Finished_ = true;
                ythrow yexception() << "shit happen in subfilter(" << ShitHappen_ << ")";
            }

            FlushImpl();
        }
//	////////////////////////////////////////////////////////////////////////////
void LogHandlerFileBase::Flush()
{
	boost::mutex::scoped_lock my_lock(the_lock_);

	FlushImpl();
}