in src/main/scala-3/org/apache/logging/log4j/scala/LoggerMacro.scala [131:133]
def debugObject(underlying: Expr[Logger], message: Expr[AnyRef])(using Quotes): Expr[Unit] = {
'{ if ($underlying.delegate.isEnabled(Level.DEBUG)) $underlying.debug($message) }
}