From 1ac9004b0515a74226cc0b82dcfa8e81d1feb053 Mon Sep 17 00:00:00 2001 From: zhaohe Date: Wed, 4 Jan 2023 10:19:45 +0800 Subject: [PATCH] =?UTF-8?q?=E9=BB=98=E8=AE=A4=E6=97=A5=E5=BF=97=E4=B8=8D?= =?UTF-8?q?=E7=BC=93=E5=AD=98=E7=9B=B4=E6=8E=A5=E8=BE=93=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 9b9781a..c1b20a9 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -64,11 +64,14 @@ int Main::main(int argc, char *argv[]) { } #endif + spdlog::flush_on(spdlog::level::debug); + logger->info("#"); logger->info("# company:{}", "ifytop"); logger->info("# version:{}", VERSION); logger->info("#"); + BUILD_AND_REG_SERRVICE(Config); GET_SERVICE(Config)->initialize(); if (!g_device_id.empty()) GET_SERVICE(Config)->set_deviceId(g_device_id);