Class SystemOutPaymentLogger

java.lang.Object
com.blockchyp.client.SystemOutPaymentLogger
All Implemented Interfaces:
PaymentLogger

public class SystemOutPaymentLogger extends Object implements PaymentLogger
Very minimal implementation of PaymentLogger. We recommend you provide your own implementation that hooks into your existing logging framework.
  • Constructor Details

    • SystemOutPaymentLogger

      public SystemOutPaymentLogger()
  • Method Details

    • debug

      public void debug(Object message)
      Description copied from interface: PaymentLogger
      Logs the message at the debug log level.
      Specified by:
      debug in interface PaymentLogger
      Parameters:
      message - the message to be logged.
    • debug

      public void debug(Object message, Throwable t)
      Description copied from interface: PaymentLogger
      Logs the message and throwable at the debug log level.
      Specified by:
      debug in interface PaymentLogger
      Parameters:
      message - the message to be logged.
      t - a throwable for which the stack trace should be logged.
    • error

      public void error(Object message)
      Description copied from interface: PaymentLogger
      Logs the message at the error log level.
      Specified by:
      error in interface PaymentLogger
      Parameters:
      message - the message to be logged.
    • error

      public void error(Object message, Throwable t)
      Description copied from interface: PaymentLogger
      Logs the message and throwable at the error log level.
      Specified by:
      error in interface PaymentLogger
      Parameters:
      message - the message to be logged.
      t - a throwable for which the stack trace should be logged.
    • fatal

      public void fatal(Object message)
      Description copied from interface: PaymentLogger
      Logs the message at the fatal log level.
      Specified by:
      fatal in interface PaymentLogger
      Parameters:
      message - the message to be logged.
    • fatal

      public void fatal(Object message, Throwable t)
      Description copied from interface: PaymentLogger
      Logs the message and throwable at the fatal log level.
      Specified by:
      fatal in interface PaymentLogger
      Parameters:
      message - the message to be logged.
      t - a throwable for which the stack trace should be logged.
    • info

      public void info(Object message)
      Description copied from interface: PaymentLogger
      Logs the message at the info log level.
      Specified by:
      info in interface PaymentLogger
      Parameters:
      message - the message to be logged.
    • info

      public void info(Object message, Throwable t)
      Description copied from interface: PaymentLogger
      Logs the message and throwable at the info log level.
      Specified by:
      info in interface PaymentLogger
      Parameters:
      message - the message to be logged.
      t - a throwable for which the stack trace should be logged.