public class LogSource$
extends java.lang.Object
In case an ActorSystem
is provided, the following apply:
Actor
and ActorRef
will be represented by their absolute physical pathString
as source will append "(Class
will extract its simple name, append "(LogSource
is in scope for it
In case a LoggingBus
is provided, the following apply:
Modifier and Type | Field and Description |
---|---|
static LogSource$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
LogSource$() |
Modifier and Type | Method and Description |
---|---|
<T> scala.Tuple2<java.lang.String,java.lang.Class<?>> |
apply(T o,
ActorSystem system,
LogSource<T> evidence$2)
Convenience converter access: given an implicit
LogSource and
ActorSystem , generate the string representation and
originating class. |
<T> scala.Tuple2<java.lang.String,java.lang.Class<?>> |
apply(T o,
LogSource<T> evidence$1)
Convenience converter access: given an implicit
LogSource , generate the
string representation and originating class. |
LogSource<Actor> |
fromActor() |
LogSource<ActorRef> |
fromActorRef() |
<T> LogSource<java.lang.Class<T>> |
fromAnyClass() |
scala.Tuple2<java.lang.String,java.lang.Class<?>> |
fromAnyRef(java.lang.Object o)
construct string representation for any object according to
rules above with fallback to its
Class ’s simple name. |
scala.Tuple2<java.lang.String,java.lang.Class<?>> |
fromAnyRef(java.lang.Object o,
ActorSystem system)
construct string representation for any object according to
rules above (including the actor system’s address) with fallback to its
Class ’s simple name. |
LogSource<java.lang.Class<?>> |
fromClass() |
LogSource<java.lang.String> |
fromString() |
public static final LogSource$ MODULE$
public LogSource<java.lang.String> fromString()
public LogSource<java.lang.Class<?>> fromClass()
public <T> LogSource<java.lang.Class<T>> fromAnyClass()
public <T> scala.Tuple2<java.lang.String,java.lang.Class<?>> apply(T o, LogSource<T> evidence$1)
LogSource
, generate the
string representation and originating class.public <T> scala.Tuple2<java.lang.String,java.lang.Class<?>> apply(T o, ActorSystem system, LogSource<T> evidence$2)
LogSource
and
ActorSystem
, generate the string representation and
originating class.public scala.Tuple2<java.lang.String,java.lang.Class<?>> fromAnyRef(java.lang.Object o)
Class
’s simple name.public scala.Tuple2<java.lang.String,java.lang.Class<?>> fromAnyRef(java.lang.Object o, ActorSystem system)
Class
’s simple name.