Unverified Commit e52e258f authored by Gabi Melman's avatar Gabi Melman Committed by GitHub

Update README.md

parent f3798159
...@@ -165,7 +165,7 @@ void daily_example() ...@@ -165,7 +165,7 @@ void daily_example()
// Useful for creating subsystem loggers from some "root" logger // Useful for creating subsystem loggers from some "root" logger
void clone_example() 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.."); network_logger->info("Logging network stuff..");
} }
``` ```
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment