Class StderrErrorLogger

  • All Implemented Interfaces:
    ErrorLogger, java.io.Serializable

    public class StderrErrorLogger
    extends java.lang.Object
    implements java.io.Serializable, ErrorLogger
    Simply outputs the errors on stderr.
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StderrErrorLogger

        public StderrErrorLogger()
    • Method Detail

      • logError

        public void logError​(java.lang.String msg)
        Logs the message.
        Specified by:
        logError in interface ErrorLogger
        Parameters:
        msg - the message to output
      • logError

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