microfmt
Zero-allocation C++ formatting for constrained environments
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
systemd_sink.hpp File Reference

Structured systemd journal sink adapter. More...

#include "../log/sink.hpp"
#include <cstddef>
#include <string_view>
#include <sys/uio.h>
#include <syslog.h>
#include <systemd/sd-daemon.h>
#include <systemd/sd-journal.h>
Include dependency graph for systemd_sink.hpp:

Go to the source code of this file.

Classes

struct  microfmt::log::systemd_sink_tag< MessageCapacity, IdentifierCapacity >
 Tag selecting systemd_sink<MessageCapacity, IdentifierCapacity> as a log_sink backend. More...
 
class  microfmt::log::systemd_sink< MessageCapacity, IdentifierCapacity >
 Adapter that writes structured records to the systemd journal. More...
 
struct  microfmt::log::log_sink_traits< systemd_sink_tag< MessageCapacity, IdentifierCapacity > >
 

Namespaces

namespace  microfmt
 
namespace  microfmt::log
 

Functions

 microfmt::log::systemd_sink () -> systemd_sink<>
 
 microfmt::log::systemd_sink (void(*)(int, microfmt::string_view, microfmt::string_view) noexcept) -> systemd_sink<>
 

Detailed Description

Structured systemd journal sink adapter.