object LogSource
Ordering
- Alphabetic
- By Inheritance
Inherited
- LogSource
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- def apply[T](o: T, system: ActorSystem)(implicit arg0: LogSource[T]): (String, Class[_])
Convenience converter access: given an implicit
LogSource
and akka.actor.ActorSystem, generate the string representation and originating class. - 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. - implicit val fromActor: [Actor]
- implicit val fromActorRef: [ActorRef]
- implicit def fromAnyClass[T]: LogSource[Class[T]]
- 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. - def fromAnyRef(o: AnyRef): (String, Class[_])
construct string representation for any object according to rules above with fallback to its
Class
’s simple name. - val fromClass: LogSource[Class[_]]
- implicit val fromString: LogSource[String]
This object holds predefined formatting rules for log sources.
In case an akka.actor.ActorSystem is provided, the following apply:
String
as source will append "(<system address>)" and use the resultClass
will extract its simple name, append "(<system address>)" and use the resultIn case a akka.event.LoggingBus is provided, the following apply:
String
as source will be used as isClass
will extract its simple name