clang-format

This commit is contained in:
gabime
2019-03-23 16:39:32 +02:00
parent 9ea6079072
commit 6b0bf33f8e
8 changed files with 183 additions and 191 deletions

View File

@@ -1,15 +1,13 @@
#include "logger.h"
#include "spdlog/spdlog.h"
spdlog::lite::logger spdlog::create_lite(void* ctx)
spdlog::lite::logger spdlog::create_lite(void *ctx)
{
if(ctx) {
if (ctx)
{
//..
}
auto logger_impl = spdlog::default_logger();
logger_impl->set_level(spdlog::level::trace);
return spdlog::lite::logger(logger_impl);
}

View File

@@ -3,9 +3,8 @@
int main()
{
//auto l = spdlog::create_lite();
//spdlog::lite::info("HELLO info {}", 123);
// auto l = spdlog::create_lite();
// spdlog::lite::info("HELLO info {}", 123);
SPDLITE_TRACE("SOME MACRO {}", 123);
SPDLITE_INFO("SOME MACRO {}", "HHHHH");
}