|
Hermes
|
Files | |
| file | console_colors.h |
| Set of 256-terminal supported color codes. | |
| file | logging.h |
| Logging functions. | |
| file | memory_dump.h |
Classes | |
| class | hermes::ConsoleColors |
| Set of 256-terminal color codes. More... | |
| class | hermes::Log |
| Static class that manages logging messages. More... | |
| struct | hermes::Log::Location |
| Holds information about log code location. More... | |
| class | hermes::MemoryDumper |
| Auxiliary logging class for printing blocks of memory. More... | |
| struct | hermes::MemoryDumper::RegionLayout |
| Memory region description. More... | |
Macros | |
| #define | INFO_ENABLED |
| #define | HERMES_PING hermes::Log::info("[{}][{}][{}]", __FILE__, __LINE__, __FUNCTION__); |
| Logs into info stream code location. | |
| #define | HERMES_LOG(FMT, ...) |
| Logs into info log stream. | |
| #define | HERMES_LOG_WARNING(FMT, ...) |
| Logs into warning log stream. | |
| #define | HERMES_LOG_ERROR(FMT, ...) |
| Logs into error log stream. | |
| #define | HERMES_LOG_CRITICAL(FMT, ...) |
| Logs into critical log stream. | |
| #define | HERMES_LOG_VARIABLE(A) |
| Logs variable name and value into info log stream. | |
| #define | HERMES_LOG_ARRAY(A) |
| Logs array elements into info log stream. | |
| #define | HERMES_LOG_VARIABLES(...) hermes::Log::info("[{}][{}][{}]: {}", __FILE__, __LINE__, __FUNCTION__, hermes_log_variables(__VA_ARGS__)) |
| Logs multiple variables into info log stream. | |
| #define | HERMES_C_LOG(FMT, ...) |
| Logs into stdout in printf style. | |
| #define | HERMES_C_LOG_ERROR(FMT, ...) |
| Logs into stderr in printf style. | |
| #define | HERMES_C_DEVICE_LOG(FMT, ...) |
| Logs into info stdout from device code. | |
| #define | HERMES_C_DEVICE_ERROR(FMT, ...) |
| Logs into stderr from device code. | |
| #define HERMES_C_DEVICE_ERROR | ( | FMT, | |
| ... | |||
| ) |
#include <hermes/logging/logging.h>
Logs into stderr from device code.
| FMT | string format following printf format |
| ... | format values |
| #define HERMES_C_DEVICE_LOG | ( | FMT, | |
| ... | |||
| ) |
#include <hermes/logging/logging.h>
Logs into info stdout from device code.
| FMT | string format following printf format |
| ... | format values |
| #define HERMES_C_LOG | ( | FMT, | |
| ... | |||
| ) |
#include <hermes/logging/logging.h>
Logs into stdout in printf style.
| FMT | string format following printf format |
| ... | format values |
| #define HERMES_C_LOG_ERROR | ( | FMT, | |
| ... | |||
| ) |
#include <hermes/logging/logging.h>
Logs into stderr in printf style.
| FMT | string format following printf format |
| ... | format values |
| #define HERMES_LOG | ( | FMT, | |
| ... | |||
| ) |
#include <hermes/logging/logging.h>
Logs into info log stream.
| FMT | a const char* following hermes format (use "{}" to place each value in the string) |
| ... | format values |
| #define HERMES_LOG_ARRAY | ( | A | ) |
#include <hermes/logging/logging.h>
Logs array elements into info log stream.
std::stringstream << operator | array/vector | object |
| #define HERMES_LOG_CRITICAL | ( | FMT, | |
| ... | |||
| ) |
#include <hermes/logging/logging.h>
Logs into critical log stream.
| FMT | a const char* following hermes format (use "{}" to place each value in the string) |
| ... | format values |
| #define HERMES_LOG_ERROR | ( | FMT, | |
| ... | |||
| ) |
#include <hermes/logging/logging.h>
Logs into error log stream.
| FMT | a const char* following hermes format (use "{}" to place each value in the string) |
| ... | format values |
| #define HERMES_LOG_VARIABLE | ( | A | ) |
#include <hermes/logging/logging.h>
Logs variable name and value into info log stream.
std::stringstream << operator | A | variable or literal |
| #define HERMES_LOG_VARIABLES | ( | ... | ) | hermes::Log::info("[{}][{}][{}]: {}", __FILE__, __LINE__, __FUNCTION__, hermes_log_variables(__VA_ARGS__)) |
#include <hermes/logging/logging.h>
Logs multiple variables into info log stream.
std::stringstream << operator | ... | variables |
| #define HERMES_LOG_WARNING | ( | FMT, | |
| ... | |||
| ) |
#include <hermes/logging/logging.h>
Logs into warning log stream.
| FMT | a const char* following hermes format (use "{}" to place each value in the string) |
| ... | format values |