From 499d9c8a0bc50b4dfddd6df1d38b6de92891ad17 Mon Sep 17 00:00:00 2001 From: lzx2023 <2424210323@qq.com> Date: Tue, 12 Dec 2023 22:10:13 +0800 Subject: [PATCH] fix the bug log cannot send to client sometimes --- server/src/commands/Commands.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/commands/Commands.h b/server/src/commands/Commands.h index 10c801edb..d8a87a3ac 100644 --- a/server/src/commands/Commands.h +++ b/server/src/commands/Commands.h @@ -51,7 +51,7 @@ namespace Commands { unsigned int port = 0; fs::path logPath; - loguru::NamedVerbosity verbosity; + loguru::NamedVerbosity verbosity = loguru::Verbosity_INFO; static const std::map verbosityMap; };