MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / LogDebug

Function LogDebug

lib/mdflib/mdfviewer/src/util/logging.cpp:25–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23namespace util::log {
24
25void LogDebug(const Loc &loc, const char *fmt, ...) {
26 if (fmt == nullptr) {
27 return;
28 }
29 char buffer[5000]{};
30 std::va_list lsArg;
31 va_start(lsArg, fmt);
32 std::vsnprintf(buffer, 5000, fmt, lsArg);
33 va_end(lsArg);
34 buffer[4999] = '\0';
35
36 LogString(loc, LogSeverity::kDebug, buffer);
37}
38
39void LogInfo(const Loc &loc, const char *fmt, ...) {
40 if (fmt == nullptr) {

Callers

nothing calls this directly

Calls 1

LogStringFunction · 0.85

Tested by

no test coverage detected