![]() |
LogIt++
Header-only, macro-first C++ logging library
|
Enumerations and utility functions for logging levels and text colors. More...
#include <array>#include <string>Go to the source code of this file.
Namespaces | |
| namespace | logit |
| The primary namespace for the LogIt++ library. | |
Macros | |
| #define | LOGIT_CPP_HEADER_LOGIT_CPP_LOGIT_ENUMS_HPP_INCLUDED |
Functions | |
| const char * | logit::to_c_str (LogLevel level, int mode=0) |
| Convert LogLevel to a C-style string representation. | |
| std::string | logit::to_string (LogLevel level, int mode=0) |
| Convert LogLevel to a std::string representation. | |
| const char * | logit::to_c_str (TextColor color) |
| Convert TextColor to a C-style string (ANSI escape codes). | |
| std::string | logit::to_string (TextColor color) |
| Convert TextColor to a std::string (ANSI escape codes). | |
| std::string | logit::get_log_level_color (LogLevel log_level) |
| Get the ANSI color code associated with a log level. | |
Enumerations and utility functions for logging levels and text colors.
Definition in file enums.hpp.