diff --git a/include/spdlog/logger.h b/include/spdlog/logger.h index 8f5716a5..187fcebf 100644 --- a/include/spdlog/logger.h +++ b/include/spdlog/logger.h @@ -118,8 +118,7 @@ public: } // support for custom time - template - void log(log_clock::time_point log_time, source_loc loc, level::level_enum lvl, S msg) + void log(log_clock::time_point log_time, source_loc loc, level::level_enum lvl, string_view_t msg) { if (should_log(lvl)) {