Class Registry.RegistryLogStrategy

  • All Implemented Interfaces:
    java.io.Serializable, scala.Equals, scala.Product, scala.Serializable
    Enclosing class:
    Registry

    public class Registry.RegistryLogStrategy
    extends OneForOneStrategy
    See Also:
    Serialized Form
    • Constructor Detail

    • Method Detail

      • logFailure

        public void logFailure​(ActorContext context,
                               ActorRef child,
                               java.lang.Throwable cause,
                               SupervisorStrategy.Directive decision)
        Description copied from class: SupervisorStrategy
        Default logging of actor failures when SupervisorStrategy.loggingEnabled() is true. Escalate failures are not logged here, since they are supposed to be handled at a level higher up in the hierarchy. Resume failures are logged at Warning level. Stop and Restart failures are logged at Error level.
        Overrides:
        logFailure in class SupervisorStrategy
        Parameters:
        context - (undocumented)
        child - (undocumented)
        cause - (undocumented)
        decision - (undocumented)