| 34 | namespace { |
| 35 | |
| 36 | void 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 | |
| 46 | void NoLog(const MdfLocation& location, mdf::MdfLogSeverity severity, |
| 47 | const std::string& text) { |
nothing calls this directly
no test coverage detected