void fcppt::log::level_stream::log( fcppt::log::detail::temporary_output const &_output, fcppt::log::format::function const &_additional_formatter ) { fcppt::io::ostream &dest( FCPPT_ASSERT_OPTIONAL_ERROR( dest_ ) ); dest << fcppt::log::format::create_chain( _additional_formatter, this->formatter() )( _output.result() ); dest.flush(); }
void fcppt::log::level_stream::log( fcppt::log::detail::temporary_output const &_output, fcppt::log::format::optional_function const &_additional_formatter ) { dest_.get() << fcppt::optional::from( fcppt::log::format::chain( _additional_formatter, this->formatter() ), fcppt::const_( fcppt::log::format::function( fcppt::identity{} ) ) )( _output.result() ); dest_.get().flush(); }