mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-30 02:19:35 +08:00
clang-format
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
@@ -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");
|
||||
|
||||
}
|
Reference in New Issue
Block a user