mirror of
https://github.com/matrix-construct/construct
synced 2025-02-27 22:20:15 +01:00
ircd::db: Allow conditional debuglog message in release-mode; minor cleanup.
This commit is contained in:
parent
ea5ebb4a12
commit
71879a9fa1
1 changed files with 4 additions and 3 deletions
|
@ -3350,9 +3350,10 @@ noexcept
|
|||
assert(d && replace && replaced);
|
||||
|
||||
if(debug)
|
||||
log::debug
|
||||
log::logf
|
||||
{
|
||||
log, "[%s] WAL recovery record log:%lu '%s' wb[count:%zu size:%zu]",
|
||||
log, log::level::DEBUG,
|
||||
"[%s] WAL recovery record log:%lu '%s' wb[count:%zu size:%zu]",
|
||||
db::name(*d),
|
||||
log_nr,
|
||||
name,
|
||||
|
|
Loading…
Add table
Reference in a new issue