akka.event
Class LogSource$

java.lang.Object
  extended by akka.event.LogSource$

public class LogSource$
extends java.lang.Object

This object holds predefined formatting rules for log sources.

In case an ActorSystem is provided, the following apply:

In case a LoggingBus is provided, the following apply:


Field Summary
static LogSource$ MODULE$
          Static reference to the singleton instance of this Scala object.
 
Constructor Summary
LogSource$()
           
 
Method Summary
<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&rsquo;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&rsquo;s address) with fallback to its Class&rsquo;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

MODULE$

public static final LogSource$ MODULE$
Static reference to the singleton instance of this Scala object.

Constructor Detail

LogSource$

public LogSource$()
Method Detail

fromString

public LogSource<java.lang.String> fromString()

fromActor

public LogSource<Actor> fromActor()

fromActorRef

public LogSource<ActorRef> fromActorRef()

fromClass

public LogSource<java.lang.Class<?>> fromClass()

fromAnyClass

public <T> LogSource<java.lang.Class<T>> fromAnyClass()

apply

public <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.

Parameters:
o - (undocumented)
evidence$1 - (undocumented)
Returns:
(undocumented)

apply

public <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.

Parameters:
o - (undocumented)
system - (undocumented)
evidence$2 - (undocumented)
Returns:
(undocumented)

fromAnyRef

public 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&rsquo;s simple name.

Parameters:
o - (undocumented)
Returns:
(undocumented)

fromAnyRef

public 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&rsquo;s address) with fallback to its Class&rsquo;s simple name.

Parameters:
o - (undocumented)
system - (undocumented)
Returns:
(undocumented)