mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-12 17:00:25 +08:00
clang-format
This commit is contained in:
parent
9971fd2864
commit
2f907e3a92
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user