Ark Server API (ASA) - Wiki
|
#include <ansicolor_sink.h>
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_sink & | operator= (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 |
Definition at line 110 of file ansicolor_sink.h.
|
inline |
Definition at line 113 of file ansicolor_sink.h.