24namespace shamcomm::logs {
31#define IsActivePrint(_name, StructREF) _name##_ln("xxx", "xxx", "(", "logger::" #_name, ")");
36 raw_ln(
"If you've seen spam in your life i can garantee you, this is worst");
44#define X IsActivePrint
std::uint32_t u32
32 bit unsigned integer
std::string reformat_all(const std::string &color, const char *name, const std::string &module_name, const std::string &content)
Format a log message with all the information.
i8 get_loglevel()
Get the current global log level.
std::string reformat_simple(const std::string &color, const char *name, const std::string &module_name, const std::string &content)
Format a log message with the minimum information.
constexpr i8 i8_max
i8 max value
void print_active_level()
Prints the active log levels.
void raw_ln(Types... var2)
Prints a log message with multiple arguments followed by a newline.
#define LIST_LEVEL
X-macro for log level definition.
This file contains the definition for the stacktrace related functionality.
static constexpr const char * level_name
Log level name.
static std::string reformat(const std::string &in, std::string module_name)
Log formatter function for debugging memory allocation.
static constexpr const char * level_name
Log level name.
static std::string reformat(const std::string &in, std::string module_name)
Log formatter function for debugging MPI operations.
static std::string reformat(const std::string &in, std::string module_name)
Log formatter function for debugging SYCL operations.
static constexpr const char * level_name
Log level name.
static std::string reformat(const std::string &in, std::string module_name)
Log formatter function for debugging general operations.
static constexpr const char * level_name
Log level name.
static std::string reformat(const std::string &in, std::string module_name)
Log formatter function for error messages.
static constexpr const char * level_name
Log level name.
static std::string reformat(const std::string &in, std::string module_name)
Log formatter function for informational messages.
static constexpr const char * level_name
Log level name.
static std::string reformat(const std::string &in, std::string module_name)
Log formatter function for normal messages.
static constexpr const char * level_name
Log level name.
static std::string reformat(const std::string &in, std::string module_name)
Log formatter function for warning messages.
const std::string col8b_yellow()
Get the yellow terminal escape char.
const std::string col8b_magenta()
Get the magenta (pink) terminal escape char.
const std::string empty()
Get the empty terminal escape.
const std::string col8b_green()
Get the green terminal escape char.
const std::string col8b_blue()
Get the blue terminal escape char.
const std::string col8b_cyan()
Get the cyan terminal escape char.
const std::string col8b_red()
Get the red terminal escape char.
Functions related to the MPI communicator.