MCPcopy Create free account
hub / github.com/baidu/babylon / LogStream

Method LogStream

test/logging/test_async_file_appender.cpp:25–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23
24struct LogStream : public ::std::ostream {
25 LogStream(PageAllocator& page_allocator) noexcept : ::std::ostream(&buffer) {
26 buffer.set_page_allocator(page_allocator);
27 buffer.begin();
28 }
29
30 inline LogEntry& end() noexcept {
31 return buffer.end();

Callers

nothing calls this directly

Calls 2

set_page_allocatorMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected