diff options
author | gabime <gmelman1@gmail.comx> | 2021-11-17 00:44:35 +0300 |
---|---|---|
committer | gabime <gmelman1@gmail.comx> | 2021-11-17 00:44:35 +0300 |
commit | dc030ec53ce9e4005156049ffb065edcca2fb2f7 (patch) | |
tree | 71b95127724de47aed68e799b3291db5ba482050 /include/spdlog/spdlog.h | |
parent | 1756c5d37f657924b04598d62ddd796865ebfb28 (diff) |
clang-format
Diffstat (limited to 'include/spdlog/spdlog.h')
-rw-r--r-- | include/spdlog/spdlog.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/include/spdlog/spdlog.h b/include/spdlog/spdlog.h index 327a0ebe..65d3e9d5 100644 --- a/include/spdlog/spdlog.h +++ b/include/spdlog/spdlog.h @@ -31,7 +31,7 @@ using default_factory = synchronous_factory; // Example: // spdlog::create<daily_file_sink_st>("logger_name", "dailylog_filename", 11, 59); template<typename Sink, typename... SinkArgs> -inline std::shared_ptr<spdlog::logger> create(std::string logger_name, SinkArgs &&...sink_args) +inline std::shared_ptr<spdlog::logger> create(std::string logger_name, SinkArgs &&... sink_args) { return default_factory::create<Sink>(std::move(logger_name), std::forward<SinkArgs>(sink_args)...); } @@ -128,49 +128,49 @@ SPDLOG_API spdlog::logger *default_logger_raw(); SPDLOG_API void set_default_logger(std::shared_ptr<spdlog::logger> default_logger); template<typename... Args> -inline void log(source_loc source, level::level_enum lvl, format_string_t<Args...> fmt, Args &&...args) +inline void log(source_loc source, level::level_enum lvl, format_string_t<Args...> fmt, Args &&... args) { default_logger_raw()->log(source, lvl, fmt, std::forward<Args>(args)...); } template<typename... Args> -inline void log(level::level_enum lvl, format_string_t<Args...> fmt, Args &&...args) +inline void log(level::level_enum lvl, format_string_t<Args...> fmt, Args &&... args) { default_logger_raw()->log(source_loc{}, lvl, fmt, std::forward<Args>(args)...); } template<typename... Args> -inline void trace(format_string_t<Args...> fmt, Args &&...args) +inline void trace(format_string_t<Args...> fmt, Args &&... args) { default_logger_raw()->trace(fmt, std::forward<Args>(args)...); } template<typename... Args> -inline void debug(format_string_t<Args...> fmt, Args &&...args) +inline void debug(format_string_t<Args...> fmt, Args &&... args) { default_logger_raw()->debug(fmt, std::forward<Args>(args)...); } template<typename... Args> -inline void info(format_string_t<Args...> fmt, Args &&...args) +inline void info(format_string_t<Args...> fmt, Args &&... args) { default_logger_raw()->info(fmt, std::forward<Args>(args)...); } template<typename... Args> -inline void warn(format_string_t<Args...> fmt, Args &&...args) +inline void warn(format_string_t<Args...> fmt, Args &&... args) { default_logger_raw()->warn(fmt, std::forward<Args>(args)...); } template<typename... Args> -inline void error(format_string_t<Args...> fmt, Args &&...args) +inline void error(format_string_t<Args...> fmt, Args &&... args) { default_logger_raw()->error(fmt, std::forward<Args>(args)...); } template<typename... Args> -inline void critical(format_string_t<Args...> fmt, Args &&...args) +inline void critical(format_string_t<Args...> fmt, Args &&... args) { default_logger_raw()->critical(fmt, std::forward<Args>(args)...); } @@ -189,49 +189,49 @@ inline void log(level::level_enum lvl, const T &msg) #ifdef SPDLOG_WCHAR_TO_UTF8_SUPPORT template<typename... Args> -inline void log(source_loc source, level::level_enum lvl, wformat_string_t<Args...> fmt, Args &&...args) +inline void log(source_loc source, level::level_enum lvl, wformat_string_t<Args...> fmt, Args &&... args) { default_logger_raw()->log(source, lvl, fmt, std::forward<Args>(args)...); } template<typename... Args> -inline void log(level::level_enum lvl, wformat_string_t<Args...> fmt, Args &&...args) +inline void log(level::level_enum lvl, wformat_string_t<Args...> fmt, Args &&... args) { default_logger_raw()->log(source_loc{}, lvl, fmt, std::forward<Args>(args)...); } template<typename... Args> -inline void trace(wformat_string_t<Args...> fmt, Args &&...args) +inline void trace(wformat_string_t<Args...> fmt, Args &&... args) { default_logger_raw()->trace(fmt, std::forward<Args>(args)...); } template<typename... Args> -inline void debug(wformat_string_t<Args...> fmt, Args &&...args) +inline void debug(wformat_string_t<Args...> fmt, Args &&... args) { default_logger_raw()->debug(fmt, std::forward<Args>(args)...); } template<typename... Args> -inline void info(wformat_string_t<Args...> fmt, Args &&...args) +inline void info(wformat_string_t<Args...> fmt, Args &&... args) { default_logger_raw()->info(fmt, std::forward<Args>(args)...); } template<typename... Args> -inline void warn(wformat_string_t<Args...> fmt, Args &&...args) +inline void warn(wformat_string_t<Args...> fmt, Args &&... args) { default_logger_raw()->warn(fmt, std::forward<Args>(args)...); } template<typename... Args> -inline void error(wformat_string_t<Args...> fmt, Args &&...args) +inline void error(wformat_string_t<Args...> fmt, Args &&... args) { default_logger_raw()->error(fmt, std::forward<Args>(args)...); } template<typename... Args> -inline void critical(wformat_string_t<Args...> fmt, Args &&...args) +inline void critical(wformat_string_t<Args...> fmt, Args &&... args) { default_logger_raw()->critical(fmt, std::forward<Args>(args)...); } |