Class SimpleLog

    • Constructor Detail

      • SimpleLog

        public SimpleLog()
    • Method Detail

      • isEnabled

        public boolean isEnabled​(Node added)
        Returns whether the recording is active.
        Specified by:
        isEnabled in class AbstractRecordActorAdded
        added - the node that got added (for context)
        true if active
      • record

        protected void record​(Actor actor,
                              StringBuilder line)
        Adds details about an actor.
        actor - the actor to add the details for
        line - the buffer to add the details to
      • record

        protected void record​(Actor added,
                              Actor parent,
                              Actor before,
                              Actor after,
                              TreeOperations.InsertPosition position)
        Records the actor that was added.
        Specified by:
        record in class AbstractRecordActorAdded
        added - the actor that was added
        parent - the parent of the added actor
        before - the immediate actor before the added actor, can be null
        after - the immediate actor after the added actor, can be null
        position - how the actor was added