Type Members
-
case class
Debug
(instance: AnyRef, message: Any) extends Event with Product with Serializable
-
-
case class
Error
(cause: Throwable, instance: AnyRef, message: Any) extends Event with Product with Serializable
-
trait
Event
extends AnyRef
-
-
case class
Info
(instance: AnyRef, message: Any) extends Event with Product with Serializable
-
case class
Warning
(instance: AnyRef, message: Any) extends Event with Product with Serializable
Value Members
-
def
!=
(arg0: AnyRef): Boolean
-
def
!=
(arg0: Any): Boolean
-
def
##
(): Int
-
def
==
(arg0: AnyRef): Boolean
-
def
==
(arg0: Any): Boolean
-
val
DebugLevel
: Int
-
val
ErrorLevel
: Int
-
-
val
ID
: String
-
val
InfoLevel
: Int
-
val
WarningLevel
: Int
-
def
addListener
(listener: ActorRef): Unit
-
def
asInstanceOf
[T0]
: T0
-
def
clone
(): AnyRef
-
def
debug
(instance: AnyRef, message: Any): Unit
-
def
debug
(instance: AnyRef, message: ⇒ String): Unit
-
val
debug
: String
-
val
defaultListeners
: Seq[String]
-
def
eq
(arg0: AnyRef): Boolean
-
def
equals
(arg0: Any): Boolean
-
def
error
(instance: AnyRef, message: Any): Unit
-
def
error
(instance: AnyRef, message: ⇒ String): Unit
-
def
error
(cause: Throwable, instance: AnyRef, message: Any): Unit
-
def
error
(cause: Throwable, instance: AnyRef, message: ⇒ String): Unit
-
val
error
: String
-
def
finalize
(): Unit
-
def
foreachListener
(f: (ActorRef) ⇒ Unit): Unit
-
def
formattedTimestamp
: String
-
val
generic
: String
-
def
getClass
(): java.lang.Class[_]
-
def
hasListener
(listener: ActorRef): Boolean
-
def
hasListeners
: Boolean
-
def
hashCode
(): Int
-
def
info
(instance: AnyRef, message: Any): Unit
-
def
info
(instance: AnyRef, message: ⇒ String): Unit
-
val
info
: String
-
def
isDebugEnabled
: Boolean
-
def
isInfoEnabled
: Boolean
-
def
isInstanceOf
[T0]
: Boolean
-
var
level
: Int
-
def
manageLifeCycleOfListeners
: Boolean
-
def
ne
(arg0: AnyRef): Boolean
-
def
notify
[T <: Event]
(event: ⇒ T)(implicit arg0: ClassManifest[T]): Unit
-
def
notify
(event: Any): Unit
-
def
notify
(): Unit
-
def
notifyAll
(): Unit
-
def
notifyListeners
(message: ⇒ Any): Unit
-
def
removeListener
(listener: ActorRef): Unit
-
def
shutdown
(): Unit
-
def
stackTraceFor
(e: Throwable): String
-
def
synchronized
[T0]
(arg0: ⇒ T0): T0
-
def
toString
(): String
-
def
wait
(): Unit
-
def
wait
(arg0: Long, arg1: Int): Unit
-
def
wait
(arg0: Long): Unit
-
def
warning
(instance: AnyRef, message: Any): Unit
-
def
warning
(instance: AnyRef, message: ⇒ String): Unit
-
val
warning
: String
Inherited from AnyRef
Inherited from Any
Event handler.
Create, add and remove a listener:
However best is probably to register the listener in the 'akka.conf' configuration file.
Log an error event:
Or use the direct methods (better performance):Shut down the EventHandler: