From 7e295c1c8749819fe26274f36639d93b2f28d033 Mon Sep 17 00:00:00 2001 From: Sandro Kalatozishvili Date: Fri, 25 Oct 2024 15:19:09 +0400 Subject: [PATCH] Style change in logger --- src/sys/xlog.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/sys/xlog.c b/src/sys/xlog.c index dd4191f..1e351fe 100644 --- a/src/sys/xlog.c +++ b/src/sys/xlog.c @@ -288,7 +288,9 @@ void XLog_Display(xlog_flag_t eFlag, xbool_t bNewLine, const char *pFormat, ...) xlog_cfg_t *pCfg = &g_xlog.config; if ((XLOG_FLAGS_CHECK(g_xlog.config.nFlags, eFlag)) && - (g_xlog.config.bToScreen || g_xlog.config.bToFile || g_xlog.config.logCallback)) + (g_xlog.config.logCallback || + g_xlog.config.bToScreen || + g_xlog.config.bToFile)) { xlog_ctx_t ctx; XTime_Get(&ctx.time);