object LogSource

This object holds predefined formatting rules for log sources.

In case an pekko.actor.ActorSystem is provided, the following apply:

  • pekko.actor.Actor and pekko.actor.ActorRef will be represented by their absolute physical path
  • providing a String as source will append "(<system address>)" and use the result
  • providing a Class will extract its simple name, append "(<system address>)" and use the result
  • anything else gives compile error unless implicit pekko.event.LogSource is in scope for it

In case a pekko.event.LoggingBus is provided, the following apply:

Source
Logging.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LogSource
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply[T](o: T, system: ActorSystem)(implicit arg0: LogSource[T]): (String, Class[_])

    Convenience converter access: given an implicit LogSource and pekko.actor.ActorSystem, generate the string representation and originating class.

  5. def apply[T](o: T)(implicit arg0: LogSource[T]): (String, Class[_])

    Convenience converter access: given an implicit LogSource, generate the string representation and originating class.

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. implicit val fromActor: LogSource[Actor]
  11. implicit val fromActorRef: LogSource[ActorRef]
  12. implicit def fromAnyClass[T]: LogSource[Class[T]]
  13. def fromAnyRef(o: AnyRef, system: ActorSystem): (String, Class[_])

    construct string representation for any object according to rules above (including the actor system’s address) with fallback to its Class’s simple name.

  14. def fromAnyRef(o: AnyRef): (String, Class[_])

    construct string representation for any object according to rules above with fallback to its Class’s simple name.

  15. val fromClass: LogSource[Class[_]]
  16. implicit val fromString: LogSource[String]
  17. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped