mirror of
https://github.com/gabime/spdlog.git
synced 2025-11-16 09:28:56 +08:00
Fixed clang-tidy warning about implicit conversion to string_view
This commit is contained in:
@@ -53,7 +53,7 @@ public:
|
||||
protected:
|
||||
void sink_it_(const details::log_msg &msg) override
|
||||
{
|
||||
::syslog(syslog_prio_from_level(msg), "%s", fmt::to_string(msg).c_str());
|
||||
::syslog(syslog_prio_from_level(msg), "%s", fmt::to_string(msg.payload).c_str());
|
||||
}
|
||||
|
||||
void flush_() override {}
|
||||
|
||||
Reference in New Issue
Block a user