This commit is contained in:
gabime
2019-12-12 20:00:18 +02:00
parent cff7448fb2
commit 8d9d9899b7
5 changed files with 70 additions and 40 deletions

View File

@@ -11,14 +11,8 @@ int main(int, char *[])
{
try
{
spdlog::cfg::env::init();
spdlog::env::init();
spdlog::info("Hello");
// auto cfg = spdlog::cfg::from_env();
// for (auto &item : cfg)
// {
// spdlog::info("logger: '{}' level: '{}' pattern: '{}'", item.first, item.second.level_name, item.second.pattern);
// }
}
catch (spdlog::spdlog_ex &ex)
{