Corium 1.1.0
High-Performance Zero-Heap C++20 MPSC Application Runtime
Loading...
Searching...
No Matches
NullLogSink.hpp
Go to the documentation of this file.
1
7#pragma once
8
10
11namespace corium::logging::sinks {
12
15public:
16 NullLogSink() = default;
17
18 template <std::size_t N>
19 void write(const LogEventT<N>& event) const noexcept
20 {
21 (void)event;
22 }
23};
24
25} // namespace corium::logging::sinks
Zero-heap fixed-capacity inline buffer log event record.
No-op log sink for zero-cost logging in benchmarks or production headless mode.
Definition NullLogSink.hpp:14
void write(const LogEventT< N > &event) const noexcept
Definition NullLogSink.hpp:19
Definition ConsoleLogSink.hpp:12
Zero-heap log event carrying fixed-size inline message buffer across MPSC event bus.
Definition LogEvent.hpp:21