| 180 | /// 以 INFO 级别记录日志 |
| 181 | template <typename... Args> |
| 182 | inline auto Info(etl::format_string<Args...> fmt, Args&&... args) -> void { |
| 183 | if constexpr (detail::Level::kInfo < detail::kMinLevel) { |
| 184 | return; |
| 185 | } |
| 186 | detail::Log<detail::Level::kInfo>(fmt, static_cast<Args&&>(args)...); |
| 187 | } |
| 188 | |
| 189 | /// 以 WARN 级别记录日志 |
| 190 | template <typename... Args> |
no outgoing calls