Hermes
|
Files | |
file | console_colors.h |
Set of 256-terminal supported color codes. | |
file | logging.h |
Logging functions. | |
file | memory_dump.h |
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. More... | |
#define | HERMES_LOG_WARNING(FMT, ...) |
Logs into warning log stream. More... | |
#define | HERMES_LOG_ERROR(FMT, ...) |
Logs into error log stream. More... | |
#define | HERMES_LOG_CRITICAL(FMT, ...) |
Logs into critical log stream. More... | |
#define | HERMES_LOG_VARIABLE(A) |
Logs variable name and value into info log stream. More... | |
#define | HERMES_LOG_ARRAY(A) |
Logs array elements into info log stream. More... | |
#define | HERMES_LOG_VARIABLES(...) hermes::Log::info("[{}][{}][{}]: {}", __FILE__, __LINE__, __FUNCTION__, hermes_log_variables(__VA_ARGS__)) |
Logs multiple variables into info log stream. More... | |
#define | HERMES_C_LOG(FMT, ...) |
Logs into stdout in printf style. More... | |
#define | HERMES_C_LOG_ERROR(FMT, ...) |
Logs into stderr in printf style. More... | |
#define | HERMES_C_DEVICE_LOG(FMT, ...) |
Logs into info stdout from device code. More... | |
#define | HERMES_C_DEVICE_ERROR(FMT, ...) |
Logs into stderr from device code. More... | |
#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 |