clang-format

This commit is contained in:
gabime 2019-03-24 00:41:22 +02:00
parent 9971fd2864
commit 2f907e3a92
4 changed files with 23 additions and 30 deletions

View File

@ -28,7 +28,6 @@ void spdlog::lite::logger::log(spdlog::lite::level lvl, const string_view_t &sv)
impl_->log(spd_level, sv);
}
void spdlog::lite::logger::log_printf(spdlog::lite::level lvl, const char *format, va_list args)
{
char buffer[500];
@ -40,7 +39,6 @@ void spdlog::lite::logger::log_printf(spdlog::lite::level lvl, const char* forma
log(lvl, string_view_t{buffer, static_cast<size_t>(size)});
}
void spdlog::lite::logger::trace_f(const char *format, ...)
{
va_list args;
@ -138,5 +136,3 @@ spdlog::lite::logger &spdlog::lite::default_logger()
static spdlog::lite::logger s_default(spdlog::default_logger());
return s_default;
}

View File

@ -31,7 +31,6 @@ enum class level
off
};
class logger
{
public:
@ -134,7 +133,6 @@ public:
log(spdlog::lite::level::err, string_view_t(msg));
}
template<typename... Args>
void error(const char *fmt, const Args &... args)
{
@ -177,7 +175,6 @@ public:
protected:
std::shared_ptr<spdlog::logger> impl_;
void log_formatted_(spdlog::lite::level lvl, const fmt::memory_buffer &formatted);
};
spdlog::lite::logger &default_logger();