Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gabime/spdlog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'example/example.cpp')
-rw-r--r--example/example.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/example/example.cpp b/example/example.cpp
index ce57fc9d..9a070c1e 100644
--- a/example/example.cpp
+++ b/example/example.cpp
@@ -47,7 +47,6 @@ int main(int, char *[])
basic_example();
rotating_example();
daily_example();
- clone_example();
async_example();
binary_example();
multi_sink_example();
@@ -106,14 +105,6 @@ void daily_example()
auto daily_logger = spdlog::daily_logger_mt("daily_logger", "logs/daily.txt", 2, 30);
}
-// Clone a logger and give it new name.
-// Useful for creating component/subsystem loggers from some "root" logger.
-void clone_example()
-{
- auto network_logger = spdlog::default_logger()->clone("network");
- network_logger->info("Logging network stuff..");
-}
-
#include "spdlog/async.h"
void async_example()
{