|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object akka.event.LogSource$
public class LogSource$
This object holds predefined formatting rules for log sources.
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:
Actor
and ActorRef
will be represented by their absolute physical pathString
as source will be used as isClass
will extract its simple nameLogSource
is in scope for it
Field Summary | |
---|---|
static LogSource$ |
MODULE$
Static reference to the singleton instance of this Scala object. |
Constructor Summary | |
---|---|
LogSource$()
|
Method Summary | ||
---|---|---|
|
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. |
|
|
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()
|
|
|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final LogSource$ MODULE$
Constructor Detail |
---|
public LogSource$()
Method Detail |
---|
public LogSource<java.lang.String> fromString()
public LogSource<Actor> fromActor()
public LogSource<ActorRef> fromActorRef()
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |