Update README.md

This commit is contained in:
Gabi Melman 2018-08-31 04:14:23 +03:00 committed by GitHub
parent f3798159e7
commit e52e258f15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ void daily_example()
// Useful for creating subsystem loggers from some "root" logger
void clone_example()
{
auto network_logger = spdlog::get("console")->clone("network");
auto network_logger = spdlog::get("root")->clone("network");
network_logger->info("Logging network stuff..");
}
```