mirror of
https://github.com/gabime/spdlog.git
synced 2025-10-02 11:29:01 +08:00
Code formatting
This commit is contained in:
@@ -29,7 +29,7 @@ template<size_t Buffer_Size>
|
||||
inline void append_string_view(fmt::string_view view, fmt::basic_memory_buffer<char, Buffer_Size> &dest)
|
||||
{
|
||||
auto *buf_ptr = view.data();
|
||||
if(buf_ptr != nullptr)
|
||||
if (buf_ptr != nullptr)
|
||||
{
|
||||
dest.append(buf_ptr, buf_ptr + view.size());
|
||||
}
|
||||
|
@@ -218,7 +218,6 @@ inline void spdlog::logger::log(level::level_enum lvl, const wchar_t *fmt, const
|
||||
wbuf_to_utf8buf(wbuf, buf);
|
||||
details::log_msg log_msg(&name_, lvl, to_string_view(buf));
|
||||
sink_it_(log_msg);
|
||||
|
||||
}
|
||||
SPDLOG_CATCH_AND_HANDLE
|
||||
}
|
||||
|
Reference in New Issue
Block a user