in src/main/scala-3/org/apache/logging/log4j/scala/LoggerMacro.scala [95:98]
def debugMsgThrowable(underlying: Expr[Logger], message: Expr[Message],
throwable: Expr[Throwable])(using Quotes): Expr[Unit] = {
'{ if ($underlying.delegate.isEnabled(Level.DEBUG)) $underlying.debug($message, $throwable) }
}