|
microfmt
Zero-allocation C++ formatting for constrained environments
|
Adapter that writes structured records to the systemd journal. More...
#include <systemd_sink.hpp>
Public Types | |
| using | write_fn_t = void(*)(int priority, microfmt::string_view identifier, microfmt::string_view message) noexcept |
Public Member Functions | |
| constexpr | systemd_sink (write_fn_t write_fn=write_to_journal) noexcept |
| log_sink | as_sink () noexcept RELOCO_LIFETIMEBOUND |
| void | log_impl (const log_msg &msg) noexcept |
Adapter that writes structured records to the systemd journal.
| using microfmt::log::systemd_sink< MessageCapacity, IdentifierCapacity >::write_fn_t = void (*)(int priority, microfmt::string_view identifier, microfmt::string_view message) noexcept |
|
inlineexplicitconstexprnoexcept |
|
inlinenoexcept |
|
inlinenoexcept |