ircd::prof: Use non-elided log call covered by outer #ifdef.

This commit is contained in:
Jason Volk 2021-04-09 11:05:36 -07:00
parent e7083cdde3
commit c96609fe7f
1 changed files with 3 additions and 2 deletions

View File

@ -137,9 +137,10 @@ noexcept
};
char tmbuf[64];
log::dwarning
log::logf
{
log, "[%s] context id:%lu watchdog :system call took %s :%s",
log, log::level::DWARNING,
"[%s] context id:%lu watchdog :system call took %s :%s",
ctx::current?
name(ctx::cur()):
ios::handler::current?