|
Celeritas 0.7.0-dev.178+develop.ae92d08fb
|
Type definitions for logging utilities. More...
#include <cstdlib>#include <functional>#include <string>#include <string_view>
Classes | |
| struct | celeritas::LogProvenance |
| Stand-in for a more complex class for the "provenance" of data. More... | |
Typedefs | |
| using | celeritas::LogHandler = std::function< void(LogProvenance, LogLevel, std::string)> |
| Type for handling a log message. | |
Enumerations | |
| enum class | celeritas::LogLevel { debug , diagnostic , status , info , warning , error , critical , size_ } |
| Enumeration for how important a log message is. More... | |
Functions | |
| char const * | celeritas::to_cstring (LogLevel lev) |
| Get the plain text equivalent of the LogLevel enum. | |
| char const * | celeritas::to_color_code (LogLevel lev) |
| Get an ANSI color code appropriate to each log level. | |
Type definitions for logging utilities.
|
strong |
Enumeration for how important a log message is.