diff --git a/slf4j/src/main/scala-2/org/typelevel/log4cats/slf4j/internal/GetLoggerMacros.scala b/slf4j/src/main/scala-2/org/typelevel/log4cats/slf4j/internal/GetLoggerMacros.scala index 14856e24..22260f03 100644 --- a/slf4j/src/main/scala-2/org/typelevel/log4cats/slf4j/internal/GetLoggerMacros.scala +++ b/slf4j/src/main/scala-2/org/typelevel/log4cats/slf4j/internal/GetLoggerMacros.scala @@ -29,9 +29,9 @@ import scala.reflect.macros.blackbox * Sarah Gerweck */ private[slf4j] class GetLoggerMacros(val c: blackbox.Context) { - final def safeCreateImpl[F](f: c.Expr[F]) = getLoggerImpl[F](f, true) + final def safeCreateImpl[F](f: c.Expr[F]) = getLoggerImpl[F](f, delayed = true) - final def unsafeCreateImpl[F](f: c.Expr[F]) = getLoggerImpl[F](f, false) + final def unsafeCreateImpl[F](f: c.Expr[F]) = getLoggerImpl[F](f, delayed = false) private def getLoggerImpl[F](f: c.Expr[F], delayed: Boolean) = { val loggerName = SharedLoggerNameMacro.getLoggerNameImpl(c)