Agora  1.2.0
Agora project
stdout_color_sinks.h
Go to the documentation of this file.
1 // Copyright(c) 2015-present, Gabi Melman & spdlog contributors.
2 // Distributed under the MIT License (http://opensource.org/licenses/MIT)
3 
4 #pragma once
5 
6 #ifdef _WIN32
8 #else
10 #endif
11 
13 
14 namespace spdlog {
15 namespace sinks {
16 #ifdef _WIN32
21 #else
26 #endif
27 } // namespace sinks
28 
29 template<typename Factory = spdlog::synchronous_factory>
30 std::shared_ptr<logger> stdout_color_mt(const std::string &logger_name, color_mode mode = color_mode::automatic);
31 
32 template<typename Factory = spdlog::synchronous_factory>
33 std::shared_ptr<logger> stdout_color_st(const std::string &logger_name, color_mode mode = color_mode::automatic);
34 
35 template<typename Factory = spdlog::synchronous_factory>
36 std::shared_ptr<logger> stderr_color_mt(const std::string &logger_name, color_mode mode = color_mode::automatic);
37 
38 template<typename Factory = spdlog::synchronous_factory>
39 std::shared_ptr<logger> stderr_color_st(const std::string &logger_name, color_mode mode = color_mode::automatic);
40 
41 } // namespace spdlog
42 
43 #ifdef SPDLOG_HEADER_ONLY
44 # include "stdout_color_sinks-inl.h"
45 #endif
spdlog::stderr_color_st
SPDLOG_INLINE std::shared_ptr< logger > stderr_color_st(const std::string &logger_name, color_mode mode)
Definition: stdout_color_sinks-inl.h:34
spdlog::sinks::ansicolor_stdout_sink_st
ansicolor_stdout_sink< details::console_nullmutex > ansicolor_stdout_sink_st
Definition: ansicolor_sink.h:108
spdlog::sinks::ansicolor_stdout_sink_mt
ansicolor_stdout_sink< details::console_mutex > ansicolor_stdout_sink_mt
Definition: ansicolor_sink.h:107
mm_gui.mode
string mode
Definition: mm_gui.py:105
spdlog::sinks::stdout_color_sink_mt
ansicolor_stdout_sink_mt stdout_color_sink_mt
Definition: stdout_color_sinks.h:22
spdlog::stdout_color_mt
SPDLOG_INLINE std::shared_ptr< logger > stdout_color_mt(const std::string &logger_name, color_mode mode)
Definition: stdout_color_sinks-inl.h:16
synchronous_factory.h
spdlog::sinks::wincolor_stdout_sink_mt
wincolor_stdout_sink< details::console_mutex > wincolor_stdout_sink_mt
Definition: wincolor_sink.h:75
spdlog::sinks::wincolor_stdout_sink_st
wincolor_stdout_sink< details::console_nullmutex > wincolor_stdout_sink_st
Definition: wincolor_sink.h:76
spdlog::stderr_color_mt
SPDLOG_INLINE std::shared_ptr< logger > stderr_color_mt(const std::string &logger_name, color_mode mode)
Definition: stdout_color_sinks-inl.h:28
spdlog::sinks::wincolor_stderr_sink_st
wincolor_stderr_sink< details::console_nullmutex > wincolor_stderr_sink_st
Definition: wincolor_sink.h:79
spdlog::sinks::ansicolor_stderr_sink_st
ansicolor_stderr_sink< details::console_nullmutex > ansicolor_stderr_sink_st
Definition: ansicolor_sink.h:111
spdlog
Definition: async.h:25
spdlog::stdout_color_st
SPDLOG_INLINE std::shared_ptr< logger > stdout_color_st(const std::string &logger_name, color_mode mode)
Definition: stdout_color_sinks-inl.h:22
ansicolor_sink.h
spdlog::sinks::wincolor_stderr_sink_mt
wincolor_stderr_sink< details::console_mutex > wincolor_stderr_sink_mt
Definition: wincolor_sink.h:78
stdout_color_sinks-inl.h
spdlog::sinks::ansicolor_stderr_sink
Definition: ansicolor_sink.h:101
spdlog::sinks::stderr_color_sink_st
ansicolor_stderr_sink_st stderr_color_sink_st
Definition: stdout_color_sinks.h:25
wincolor_sink.h
spdlog::sinks::ansicolor_stdout_sink
Definition: ansicolor_sink.h:94
spdlog::sinks::stderr_color_sink_mt
ansicolor_stderr_sink_mt stderr_color_sink_mt
Definition: stdout_color_sinks.h:24
spdlog::sinks::ansicolor_stderr_sink_mt
ansicolor_stderr_sink< details::console_mutex > ansicolor_stderr_sink_mt
Definition: ansicolor_sink.h:110
spdlog::color_mode::automatic
@ automatic
spdlog::color_mode
color_mode
Definition: common.h:256
spdlog::sinks::stdout_color_sink_st
ansicolor_stdout_sink_st stdout_color_sink_st
Definition: stdout_color_sinks.h:23