| 189 | /// 以 WARN 级别记录日志 |
| 190 | template <typename... Args> |
| 191 | inline auto Warn(etl::format_string<Args...> fmt, Args&&... args) -> void { |
| 192 | if constexpr (detail::Level::kWarn < detail::kMinLevel) { |
| 193 | return; |
| 194 | } |
| 195 | detail::Log<detail::Level::kWarn>(fmt, static_cast<Args&&>(args)...); |
| 196 | } |
| 197 | |
| 198 | /// 以 ERROR 级别记录日志 |
| 199 | template <typename... Args> |
no outgoing calls
no test coverage detected