Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
clogger: fix forceLog with log
  • Loading branch information
KangLin committed Dec 20, 2023
commit 76e0d76749e0e314748f0b4b2eda65d9db4529e9
4 changes: 2 additions & 2 deletions src/clogger.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ log4cplus_logger_log(const log4cplus_char_t *name, loglevel_t ll,
}
while (retval == -1);

logger.forcedLog(ll, msg, nullptr, -1);
logger.log(ll, msg, nullptr, -1);
}

retval = 0;
Expand All @@ -313,7 +313,7 @@ log4cplus_logger_log_str(const log4cplus_char_t *name,

if (logger.isEnabledFor(ll))
{
logger.forcedLog(ll, msg, nullptr, -1);
logger.log(ll, msg, nullptr, -1);
}

retval = 0;
Expand Down