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

Function LogFunc

lib/mdflib/mdfviewer/src/mdfviewer.cpp:36–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34namespace {
35
36void LogFunc(const MdfLocation& location, mdf::MdfLogSeverity severity,
37 const std::string& text) {
38 auto &log_config = LogConfig::Instance();
39 LogMessage message;
40 message.message = text;
41 message.severity = static_cast<LogSeverity>(severity);
42
43 log_config.AddLogMessage(message);
44}
45
46void NoLog(const MdfLocation& location, mdf::MdfLogSeverity severity,
47 const std::string& text) {

Callers

nothing calls this directly

Calls 1

AddLogMessageMethod · 0.45

Tested by

no test coverage detected