clang format

pull/3113/head
gabime 2 years ago
parent c8b81a6958
commit 8319d1bc16

@ -6,7 +6,6 @@
#include <cerrno>
#include <cstdio>
#include "spdlog/common.h"
#include "spdlog/details/os.h"

@ -2,6 +2,7 @@
// Distributed under the MIT License (http://opensource.org/licenses/MIT)
#include "spdlog/details/registry.h"
#include "spdlog/common.h"
#include "spdlog/logger.h"
#include "spdlog/pattern_formatter.h"

@ -97,8 +97,7 @@ bool logger::should_flush_(const details::log_msg &msg) {
#if defined(USING_R) && defined(R_R_H) // if in R environment
REprintf("[*** LOG ERROR ***] [%s] [%s] %s\n", date_buf, name().c_str(), msg.c_str());
#else
std::fprintf(stderr, "[*** LOG ERROR ***] [%s] [%s] %s\n", date_buf,
name().c_str(), msg.c_str());
std::fprintf(stderr, "[*** LOG ERROR ***] [%s] [%s] %s\n", date_buf, name().c_str(), msg.c_str());
#endif
}
}

Loading…
Cancel
Save