Fix DG logging by fixing wayward `this`-binding.

IS [#54784248]
IS [#48363865]