mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-16 00:45:48 +08:00
25b10dc264
calling log with a string_view as msg called ``` template<typename... Args> void log(source_loc loc, level::level_enum lvl, string_view_t fmt, const Args &... args) ``` instead of ``` template<class T, typename std::enable_if<std::is_convertible<const T &, spdlog::string_view_t>::value, T>::type * = nullptr> void log(source_loc loc, level::level_enum lvl, const T &msg) ``` which lead to an unnecessary call to fmt::format |
||
---|---|---|
.. | ||
details | ||
fmt | ||
sinks | ||
async_logger-inl.h | ||
async_logger.h | ||
async.h | ||
common-inl.h | ||
common.h | ||
formatter.h | ||
logger-inl.h | ||
logger.h | ||
spdlog-inl.h | ||
spdlog.h | ||
tweakme.h | ||
version.h |