| 164 | |
| 165 | template <typename... Ts> |
| 166 | inline void Logger::log(LogLevel log_level, const std::string &fmt, Ts &&...args) |
| 167 | { |
| 168 | // Return if message shouldn't be logged |
| 169 | // i.e. if log level does not match the logger's |
| 170 | if (!is_loggable(log_level)) |
| 171 | { |
| 172 | return; |
| 173 | } |
| 174 | |
| 175 | // Print message to all printers |
| 176 | print_all(create_log_msg(string_with_format(fmt, args...), log_level)); |
| 177 | } |
| 178 | } // namespace logging |
| 179 | } // namespace arm_compute |
| 180 | #endif // ACL_ARM_COMPUTE_CORE_UTILS_LOGGING_LOGGER_H |
nothing calls this directly
no test coverage detected