From 97fea81599a5d2872b7510e86b9c30ae2ad3a563 Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Mon, 31 Aug 2020 03:51:17 +0300 Subject: [PATCH] Update README.md --- README.md | 5 ----- 1 file changed, 5 deletions(-) diff --git a/README.md b/README.md index de9b50fc..5d849eb2 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,6 @@ $ cmake .. && make -j #### Basic usage ```c++ #include "spdlog/spdlog.h" -#include "spdlog/sinks/basic_file_sink.h" int main() { @@ -79,10 +78,6 @@ int main() // define SPDLOG_ACTIVE_LEVEL to desired level SPDLOG_TRACE("Some trace message with param {}", 42); SPDLOG_DEBUG("Some debug message"); - - // Set the default logger to file logger - auto file_logger = spdlog::basic_logger_mt("basic_logger", "logs/basic.txt"); - spdlog::set_default_logger(file_logger); } ```