Fixes #27937: optimise code used in all logging calls.
1 file changed