Interface Logger


  • public interface Logger
    A basic interface to provide feedback. Note that the logging methods are not call-by-name as a Scala interface would be. We could define a Function0 interface if we find that this is a problem.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean ansiCodesSupported()
      True if ANSI color codes are understood by this instance.
      void debug​(java.lang.String msg)  
      void error​(java.lang.String msg)  
      void info​(java.lang.String msg)  
      void trace​(java.lang.Throwable t)  
      void warn​(java.lang.String msg)  
    • Method Detail

      • ansiCodesSupported

        boolean ansiCodesSupported()
        True if ANSI color codes are understood by this instance.
      • error

        void error​(java.lang.String msg)
      • warn

        void warn​(java.lang.String msg)
      • info

        void info​(java.lang.String msg)
      • debug

        void debug​(java.lang.String msg)
      • trace

        void trace​(java.lang.Throwable t)