Interface PaymentLogger

All Known Implementing Classes:
SystemOutPaymentLogger

public interface PaymentLogger
This is a simple logging abstraction following the conventions from Jakarta commons-logging. We don't want to make any assumptions about what logging framework you're using or cause classpath problems. You can inject an implementation of this interface for whatever logging framework you like best. By default, we'll just dump everything to stdout.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    debug(Object message)
    Logs the message at the debug log level.
    void
    debug(Object message, Throwable t)
    Logs the message and throwable at the debug log level.
    void
    error(Object message)
    Logs the message at the error log level.
    void
    error(Object message, Throwable t)
    Logs the message and throwable at the error log level.
    void
    fatal(Object message)
    Logs the message at the fatal log level.
    void
    fatal(Object message, Throwable t)
    Logs the message and throwable at the fatal log level.
    void
    info(Object message)
    Logs the message at the info log level.
    void
    info(Object message, Throwable t)
    Logs the message and throwable at the info log level.
  • Method Details

    • debug

      void debug(Object message)
      Logs the message at the debug log level.
      Parameters:
      message - the message to be logged.
    • debug

      void debug(Object message, Throwable t)
      Logs the message and throwable at the debug log level.
      Parameters:
      message - the message to be logged.
      t - a throwable for which the stack trace should be logged.
    • error

      void error(Object message)
      Logs the message at the error log level.
      Parameters:
      message - the message to be logged.
    • error

      void error(Object message, Throwable t)
      Logs the message and throwable at the error log level.
      Parameters:
      message - the message to be logged.
      t - a throwable for which the stack trace should be logged.
    • fatal

      void fatal(Object message)
      Logs the message at the fatal log level.
      Parameters:
      message - the message to be logged.
    • fatal

      void fatal(Object message, Throwable t)
      Logs the message and throwable at the fatal log level.
      Parameters:
      message - the message to be logged.
      t - a throwable for which the stack trace should be logged.
    • info

      void info(Object message)
      Logs the message at the info log level.
      Parameters:
      message - the message to be logged.
    • info

      void info(Object message, Throwable t)
      Logs the message and throwable at the info log level.
      Parameters:
      message - the message to be logged.
      t - a throwable for which the stack trace should be logged.