# 源码 [github](https://github.com/gabime/spdlog) # 使用 ## 输出格式 通过`set_pattern`可设定日志格式,如`set_pattern("[%Y-%m-%d %H:%M:%S.%e][%l](%@): %v");`