Update README.md
This commit is contained in:
parent
f3798159e7
commit
e52e258f15
@ -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..");
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user