diff --git a/akka-actor-testkit-typed/src/main/scala/akka/actor/testkit/typed/internal/StubbedActorContext.scala b/akka-actor-testkit-typed/src/main/scala/akka/actor/testkit/typed/internal/StubbedActorContext.scala index 568547c62e..1b9b7344e2 100644 --- a/akka-actor-testkit-typed/src/main/scala/akka/actor/testkit/typed/internal/StubbedActorContext.scala +++ b/akka-actor-testkit-typed/src/main/scala/akka/actor/testkit/typed/internal/StubbedActorContext.scala @@ -102,7 +102,6 @@ private[akka] final class FunctionRef[-T]( override def isDebugEnabled: Boolean = actual.isDebugEnabled override def withMdc(mdc: Map[String, Any]): Logger = actual.withMdc(mdc) - override def isErrorEnabled(marker: LogMarker): Boolean = actual.isErrorEnabled(marker) override def isWarningEnabled(marker: LogMarker): Boolean = actual.isWarningEnabled(marker) override def isInfoEnabled(marker: LogMarker): Boolean = actual.isInfoEnabled(marker) diff --git a/akka-actor-typed/src/main/scala/akka/actor/typed/Logger.scala b/akka-actor-typed/src/main/scala/akka/actor/typed/Logger.scala index 89c4db640e..8c846d2c20 100644 --- a/akka-actor-typed/src/main/scala/akka/actor/typed/Logger.scala +++ b/akka-actor-typed/src/main/scala/akka/actor/typed/Logger.scala @@ -147,12 +147,11 @@ abstract class Logger private[akka] () { */ def isErrorEnabled: Boolean - /** - * Whether error logging with this marker is enabled on the actor system level, may not represent the setting all - * the way to the logger implementation, but when it does it allows avoiding unnecessary resource usage for log - * entries that will not actually end up in any logger output. - */ + * Whether error logging with this marker is enabled on the actor system level, may not represent the setting all + * the way to the logger implementation, but when it does it allows avoiding unnecessary resource usage for log + * entries that will not actually end up in any logger output. + */ def isErrorEnabled(marker: LogMarker): Boolean /** @@ -163,10 +162,10 @@ abstract class Logger private[akka] () { def isWarningEnabled: Boolean /** - * Whether warning logging with this marker is enabled on the actor system level, may not represent the setting all - * the way to the logger implementation, but when it does it allows avoiding unnecessary resource usage for log - * entries that will not actually end up in any logger output. - */ + * Whether warning logging with this marker is enabled on the actor system level, may not represent the setting all + * the way to the logger implementation, but when it does it allows avoiding unnecessary resource usage for log + * entries that will not actually end up in any logger output. + */ def isWarningEnabled(marker: LogMarker): Boolean /** @@ -177,10 +176,10 @@ abstract class Logger private[akka] () { def isInfoEnabled: Boolean /** - * Whether info logging with this marker is enabled on the actor system level, may not represent the setting all - * the way to the logger implementation, but when it does it allows avoiding unnecessary resource usage for log - * entries that will not actually end up in any logger output. - */ + * Whether info logging with this marker is enabled on the actor system level, may not represent the setting all + * the way to the logger implementation, but when it does it allows avoiding unnecessary resource usage for log + * entries that will not actually end up in any logger output. + */ def isInfoEnabled(marker: LogMarker): Boolean /** @@ -191,10 +190,10 @@ abstract class Logger private[akka] () { def isDebugEnabled: Boolean /** - * Whether debug logging with this marker is enabled on the actor system level, may not represent the setting all - * the way to the logger implementation, but when it does it allows avoiding unnecessary resource usage for log - * entries that will not actually end up in any logger output. - */ + * Whether debug logging with this marker is enabled on the actor system level, may not represent the setting all + * the way to the logger implementation, but when it does it allows avoiding unnecessary resource usage for log + * entries that will not actually end up in any logger output. + */ def isDebugEnabled(marker: LogMarker): Boolean /** @@ -211,10 +210,10 @@ abstract class Logger private[akka] () { } /** - * Whether a log level with this marker is enabled on the actor system level, may not represent the setting all the - * way to the logger implementation, but when it does it allows avoiding unnecessary resource usage for log entries - * that will not actually end up in any logger output. - */ + * Whether a log level with this marker is enabled on the actor system level, may not represent the setting all the + * way to the logger implementation, but when it does it allows avoiding unnecessary resource usage for log entries + * that will not actually end up in any logger output. + */ def isLevelEnabled(logLevel: LogLevel, marker: LogMarker): Boolean = logLevel match { case ErrorLevel ⇒ isErrorEnabled(marker) case WarningLevel ⇒ isWarningEnabled(marker)