Update logger.h

This commit is contained in:
Gabi Melman 2023-09-16 02:20:05 +03:00 committed by gabime
parent fd91561734
commit fb40b49ef0

View File

@ -118,8 +118,7 @@ public:
}
// support for custom time
template<typename S>
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))
{