Interface MonkeyLibLogger.LogListener

Enclosing interface:
MonkeyLibLogger
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface MonkeyLibLogger.LogListener
A log listener allows reading log messages.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(String message, @Nullable Throwable error)
    Accept the message and optionally a Throwable that was logged.
  • Method Details

    • accept

      void accept(String message, @Nullable Throwable error)
      Accept the message and optionally a Throwable that was logged.
      Parameters:
      message - the message that was logged
      error - the Throwable that was logged