diff options
author | gabime <gmelman1@mgail.com> | 2020-09-26 15:34:05 +0300 |
---|---|---|
committer | gabime <gmelman1@mgail.com> | 2020-09-26 15:34:05 +0300 |
commit | 231ca50700fa0e381da773b0546f5cc8861db1cf (patch) | |
tree | 1e2d997517ef290ca9d15b60808d509072f725c4 /include/spdlog/spdlog.h | |
parent | c7613f3e919335b7b2a7671840bb720d13552d09 (diff) |
clang-format
Diffstat (limited to 'include/spdlog/spdlog.h')
-rw-r--r-- | include/spdlog/spdlog.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/include/spdlog/spdlog.h b/include/spdlog/spdlog.h index 4bd126bd..bac5d26f 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 FormatString, typename... Args> -inline void log(source_loc source, level::level_enum lvl, const FormatString &fmt, const Args &... args) +inline void log(source_loc source, level::level_enum lvl, const FormatString &fmt, const Args &...args) { default_logger_raw()->log(source, lvl, fmt, args...); } template<typename FormatString, typename... Args> -inline void log(level::level_enum lvl, const FormatString &fmt, const Args &... args) +inline void log(level::level_enum lvl, const FormatString &fmt, const Args &...args) { default_logger_raw()->log(source_loc{}, lvl, fmt, args...); } template<typename FormatString, typename... Args> -inline void trace(const FormatString &fmt, const Args &... args) +inline void trace(const FormatString &fmt, const Args &...args) { default_logger_raw()->trace(fmt, args...); } template<typename FormatString, typename... Args> -inline void debug(const FormatString &fmt, const Args &... args) +inline void debug(const FormatString &fmt, const Args &...args) { default_logger_raw()->debug(fmt, args...); } template<typename FormatString, typename... Args> -inline void info(const FormatString &fmt, const Args &... args) +inline void info(const FormatString &fmt, const Args &...args) { default_logger_raw()->info(fmt, args...); } template<typename FormatString, typename... Args> -inline void warn(const FormatString &fmt, const Args &... args) +inline void warn(const FormatString &fmt, const Args &...args) { default_logger_raw()->warn(fmt, args...); } template<typename FormatString, typename... Args> -inline void error(const FormatString &fmt, const Args &... args) +inline void error(const FormatString &fmt, const Args &...args) { default_logger_raw()->error(fmt, args...); } template<typename FormatString, typename... Args> -inline void critical(const FormatString &fmt, const Args &... args) +inline void critical(const FormatString &fmt, const Args &...args) { default_logger_raw()->critical(fmt, args...); } |