Agora
1.2.0
Agora project
|
Go to the documentation of this file.
14 template<
typename Mutex>
30 ostream_.write(formatted.
data(),
static_cast<std::streamsize
>(formatted.
size()));
ostream_sink(std::ostream &os, bool force_flush=false)
Definition: ostream_sink.h:18
void flush_() override
Definition: ostream_sink.h:37
constexpr auto size() const -> size_t
Definition: core.h:820
bool force_flush_
Definition: ostream_sink.h:43
Definition: base_sink.h:19
void sink_it_(const details::log_msg &msg) override
Definition: ostream_sink.h:26
auto data() -> T *
Definition: core.h:826
ostream_sink & operator=(const ostream_sink &)=delete
Definition: ostream_sink.h:15
std::ostream & ostream_
Definition: ostream_sink.h:42