地址: https://github.com/gabime/spdlog
日志等级说明 : https://my.oschina.net/xsh1208/blog/194293?p=1
#include "spdlog/spdlog.h"
日志打印例子:
spdlog::set_level(spdlog::level::info);
spdlog::critical("Support for int");
spdlog::error("Some error message with arg: {0}", 1);
spdlog::warn("Easy padding in numbers like");
spdlog::info("Positional args are {0} {1}..", "supported", "too");
spdlog::debug("huang {} {}", "left aligned", "dasd");