MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / log_generic

Function log_generic

TactilityKernel/source/log.cpp:66–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64extern "C" {
65
66void log_generic(enum LogLevel level, const char* tag, const char* format, ...) {
67 va_list args;
68 va_start(args, format);
69 printf("%s %c (%" PRIu64 ") %s ", get_log_color(level), get_log_prefix(level), get_log_timestamp(), tag);
70 vprintf(format, args);
71 printf("\033[0m\n");
72 va_end(args);
73}
74
75}
76

Callers

nothing calls this directly

Calls 3

get_log_colorFunction · 0.85
get_log_prefixFunction · 0.85
get_log_timestampFunction · 0.85

Tested by

no test coverage detected