spdlog
Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Typedefs | Functions
systemd_sink.h File Reference

Go to the source code of this file.

#include <spdlog/sinks/base_sink.h>
#include <spdlog/details/null_mutex.h>
#include <spdlog/details/synchronous_factory.h>
#include <array>
#include <systemd/sd-journal.h>

Classes

class  spdlog::sinks::systemd_sink< Mutex >
 

Namespaces

namespace  spdlog
 
namespace  spdlog::sinks
 

Macros

#define SD_JOURNAL_SUPPRESS_LOCATION
 

Typedefs

using spdlog::sinks::systemd_sink_mt = systemd_sink< std::mutex >
 
using spdlog::sinks::systemd_sink_st = systemd_sink< details::null_mutex >
 

Functions

template<typename Factory = spdlog::synchronous_factory>
std::shared_ptr< loggerspdlog::systemd_logger_mt (const std::string &logger_name)
 
template<typename Factory = spdlog::synchronous_factory>
std::shared_ptr< loggerspdlog::systemd_logger_st (const std::string &logger_name)
 

Macro Definition Documentation

◆ SD_JOURNAL_SUPPRESS_LOCATION

#define SD_JOURNAL_SUPPRESS_LOCATION

Definition at line 12 of file systemd_sink.h.