Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
spdlog::sinks::ansicolor_stdout_sink< Mutex > Class Template Reference

#include <ansicolor_sink.h>

+ Inheritance diagram for spdlog::sinks::ansicolor_stdout_sink< Mutex >:
+ Collaboration diagram for spdlog::sinks::ansicolor_stdout_sink< Mutex >:

Public Member Functions

 ansicolor_stdout_sink ()
 
- Public Member Functions inherited from spdlog::sinks::ansicolor_sink< Mutex >
 ansicolor_sink (FILE *file)
 
virtual ~ansicolor_sink ()
 
void set_color (level::level_enum color_level, const std::string &color)
 
- Public Member Functions inherited from spdlog::sinks::base_sink< Mutex >
 base_sink ()
 
virtual ~base_sink ()=default
 
 base_sink (const base_sink &)=delete
 
base_sinkoperator= (const base_sink &)=delete
 
void log (const details::log_msg &msg) SPDLOG_FINAL override
 
void flush () SPDLOG_FINAL override
 
- Public Member Functions inherited from spdlog::sinks::sink
 sink ()
 
virtual ~sink ()
 
bool should_log (level::level_enum msg_level) const
 
void set_level (level::level_enum log_level)
 
level::level_enum level () const
 

Additional Inherited Members

- Public Attributes inherited from spdlog::sinks::ansicolor_sink< Mutex >
const std::string reset = "\033[00m"
 Formatting codes.
 
const std::string bold = "\033[1m"
 
const std::string dark = "\033[2m"
 
const std::string underline = "\033[4m"
 
const std::string blink = "\033[5m"
 
const std::string reverse = "\033[7m"
 
const std::string concealed = "\033[8m"
 
const std::string grey = "\033[30m"
 
const std::string red = "\033[31m"
 
const std::string green = "\033[32m"
 
const std::string yellow = "\033[33m"
 
const std::string blue = "\033[34m"
 
const std::string magenta = "\033[35m"
 
const std::string cyan = "\033[36m"
 
const std::string white = "\033[37m"
 
const std::string on_grey = "\033[40m"
 Background colors.
 
const std::string on_red = "\033[41m"
 
const std::string on_green = "\033[42m"
 
const std::string on_yellow = "\033[43m"
 
const std::string on_blue = "\033[44m"
 
const std::string on_magenta = "\033[45m"
 
const std::string on_cyan = "\033[46m"
 
const std::string on_white = "\033[47m"
 
- Protected Member Functions inherited from spdlog::sinks::ansicolor_sink< Mutex >
virtual void _sink_it (const details::log_msg &msg) override
 
void _flush () override
 
- Protected Attributes inherited from spdlog::sinks::ansicolor_sink< Mutex >
FILE * target_file_
 
bool should_do_colors_
 
std::map< level::level_enum, std::string > colors_
 
- Protected Attributes inherited from spdlog::sinks::base_sink< Mutex >
Mutex _mutex
 

Detailed Description

template<class Mutex>
class spdlog::sinks::ansicolor_stdout_sink< Mutex >

Definition at line 110 of file ansicolor_sink.h.

Constructor & Destructor Documentation

◆ ansicolor_stdout_sink()

template<class Mutex >
spdlog::sinks::ansicolor_stdout_sink< Mutex >::ansicolor_stdout_sink ( )
inline

Definition at line 113 of file ansicolor_sink.h.


The documentation for this class was generated from the following file: