Agora
1.2.0
Agora project
|
Go to the documentation of this file.
19 template<
typename ConsoleMutex>
23 using mutex_t =
typename ConsoleMutex::mutex_t;
34 void flush()
override;
35 void set_pattern(
const std::string &pattern)
override;
37 void set_formatter(std::unique_ptr<spdlog::formatter> sink_formatter)
override;
48 template<
typename ConsoleMutex>
55 template<
typename ConsoleMutex>
71 template<
typename Factory = spdlog::synchronous_factory>
74 template<
typename Factory = spdlog::synchronous_factory>
77 template<
typename Factory = spdlog::synchronous_factory>
80 template<
typename Factory = spdlog::synchronous_factory>
85 #ifdef SPDLOG_HEADER_ONLY
stdout_sink_base & operator=(const stdout_sink_base &other)=delete
SPDLOG_INLINE std::shared_ptr< logger > stdout_logger_mt(const std::string &logger_name)
Definition: stdout_sinks-inl.h:117
SPDLOG_INLINE std::shared_ptr< logger > stderr_logger_mt(const std::string &logger_name)
Definition: stdout_sinks-inl.h:129
stdout_sink()
Definition: stdout_sinks-inl.h:103
SPDLOG_INLINE std::shared_ptr< logger > stderr_logger_st(const std::string &logger_name)
Definition: stdout_sinks-inl.h:135
~stdout_sink_base() override=default
stdout_sink_base(FILE *file)
Definition: stdout_sinks-inl.h:32
Definition: stdout_sinks.h:20
typename ConsoleMutex::mutex_t mutex_t
Definition: stdout_sinks.h:23
Definition: stdout_sinks.h:49
mutex_t & mutex_
Definition: stdout_sinks.h:40
void set_pattern(const std::string &pattern) override
Definition: stdout_sinks-inl.h:88
Definition: stdout_sinks.h:56
SPDLOG_INLINE std::shared_ptr< logger > stdout_logger_st(const std::string &logger_name)
Definition: stdout_sinks-inl.h:123
void set_formatter(std::unique_ptr< spdlog::formatter > sink_formatter) override
Definition: stdout_sinks-inl.h:95
void log(const details::log_msg &msg) override
Definition: stdout_sinks-inl.h:53
FILE * file_
Definition: stdout_sinks.h:41
stderr_sink()
Definition: stdout_sinks-inl.h:109
void flush() override
Definition: stdout_sinks-inl.h:81
std::unique_ptr< spdlog::formatter > formatter_
Definition: stdout_sinks.h:42