mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-13 01:10:26 +08:00
pass log_time param by value
This commit is contained in:
parent
9e6f5b6b2d
commit
faaef7686d
@ -147,7 +147,7 @@ public:
|
||||
log(loc, lvl, string_view_t{msg});
|
||||
}
|
||||
|
||||
void log(log_clock::time_point &log_time, source_loc loc, level::level_enum lvl, string_view_t msg)
|
||||
void log(log_clock::time_point log_time, source_loc loc, level::level_enum lvl, string_view_t msg)
|
||||
{
|
||||
bool log_enabled = should_log(lvl);
|
||||
bool traceback_enabled = tracer_.enabled();
|
||||
|
Loading…
Reference in New Issue
Block a user