mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-24 06:32:06 +08:00
Update logger.h
This commit is contained in:
parent
fd91561734
commit
fb40b49ef0
@ -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))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user