Class PeerLogAlert

All Implemented Interfaces:
Alert<peer_log_alert>

public final class PeerLogAlert extends PeerAlert<peer_log_alert>
This alert is posted by events specific to a peer. It's meant to be used for trouble shooting and debugging. It's not enabled by the default alert mask and is enabled by the ``alert::peer_log_notification`` bit.
  • Method Details

    • eventType

      public String eventType()
      String literal indicating the kind of event. For messages, this is the message name.
      Returns:
      the event type
    • direction

      public PeerLogAlert.Direction direction()
      Returns:
      the direction
    • logMessage

      public String logMessage()
      Returns the log message.
      Returns:
      the log message