From 10b640d773a22eaf525258c56fec5e48863c736c Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Tue, 16 Nov 2021 22:37:43 +0200 Subject: [PATCH] Update example.cpp --- example/example.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/example.cpp b/example/example.cpp index e379ca34..93a7e0b4 100644 --- a/example/example.cpp +++ b/example/example.cpp @@ -115,7 +115,7 @@ void stdout_logger_example() void basic_example() { // Create basic file logger (not rotated). - auto my_logger = spdlog::basic_logger_mt("file_logger", "logs/basic-log.txt"); + auto my_logger = spdlog::basic_logger_mt("file_logger", "logs/basic-log.txt", true); } #include "spdlog/sinks/rotating_file_sink.h"