Interface ErrorLogger

  • All Known Implementing Classes:
    StderrErrorLogger

    public interface ErrorLogger
    Interface for error logging hooks.
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void logError​(java.lang.String msg)
      Logs the message.
      void logError​(java.lang.String msg, java.lang.Throwable t)
      Logs the message and throwable.
    • Method Detail

      • logError

        void logError​(java.lang.String msg)
        Logs the message.
        Parameters:
        msg - the message to output
      • logError

        void logError​(java.lang.String msg,
                      java.lang.Throwable t)
        Logs the message and throwable.
        Parameters:
        msg - the message to output
        t - the exception