Skip to content

Commit

Permalink
Style change in logger
Browse files Browse the repository at this point in the history
  • Loading branch information
kala13x committed Oct 25, 2024
1 parent 0b36854 commit 7e295c1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/sys/xlog.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 7e295c1

Please sign in to comment.