This is an automated email from the ASF dual-hosted git repository. fanningpj pushed a commit to branch pjfanning-patch-1 in repository https://gitbox.apache.org/repos/asf/pekko.git
commit 2a365ff9edf421509d1a693f626514bd69e3e71e Author: PJ Fanning <[email protected]> AuthorDate: Tue Sep 2 11:57:39 2025 +0100 Annotate PekkoLoggerBridge as InternalApi Added internal API annotations and documentation for PekkoLoggerBridge. --- .../com/typesafe/sslconfig/pekko/util/PekkoLoggerBridge.scala | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/stream/src/main/scala/com/typesafe/sslconfig/pekko/util/PekkoLoggerBridge.scala b/stream/src/main/scala/com/typesafe/sslconfig/pekko/util/PekkoLoggerBridge.scala index c9b2a6307f..965da69f26 100644 --- a/stream/src/main/scala/com/typesafe/sslconfig/pekko/util/PekkoLoggerBridge.scala +++ b/stream/src/main/scala/com/typesafe/sslconfig/pekko/util/PekkoLoggerBridge.scala @@ -15,11 +15,16 @@ package com.typesafe.sslconfig.pekko.util import org.apache.pekko import pekko.actor.ActorSystem +import pekko.annotation.InternalApi import pekko.event.{ DummyClassForStringSources, EventStream } import pekko.event.Logging._ import com.typesafe.sslconfig.util.{ LoggerFactory, NoDepsLogger } +/** + * Internal Usage only. Will be removed in Pekko 2.0.0. + */ +@InternalApi final class PekkoLoggerFactory(system: ActorSystem) extends LoggerFactory { override def apply(clazz: Class[_]): NoDepsLogger = new PekkoLoggerBridge(system.eventStream, clazz) @@ -27,6 +32,10 @@ final class PekkoLoggerFactory(system: ActorSystem) extends LoggerFactory { new PekkoLoggerBridge(system.eventStream, name, classOf[DummyClassForStringSources]) } +/** + * Internal Usage only. Will be removed in Pekko 2.0.0. + */ +@InternalApi class PekkoLoggerBridge(bus: EventStream, logSource: String, logClass: Class[_]) extends NoDepsLogger { def this(bus: EventStream, clazz: Class[_]) = this(bus, clazz.getCanonicalName, clazz) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
