Class Logger.NullLogger

    • Constructor Summary

      Constructors 
      Constructor Description
      NullLogger()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void dbg​(java.lang.String s)  
      void endTrack()
      Ends a track, printing out how long the track took.
      void err​(java.lang.String s)  
      void err​(java.lang.String s, java.lang.Object... args)  
      void logs​(java.lang.String s, java.lang.Object... args)
      Log a string, but only once in a while.
      void logss​(java.lang.String s)
      Always log this string.
      void logss​(java.lang.String string, java.lang.Object... args)  
      void startTrack​(java.lang.String s)
      Start a track (a function, or some other logical unit of computation) with a name given by s.
      void warn​(java.lang.String s)  
      void warn​(java.lang.String string, java.lang.Object... args)  
      • Methods inherited from class java.lang.Object

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

      • NullLogger

        public NullLogger()
    • Method Detail

      • logs

        public void logs​(java.lang.String s,
                         java.lang.Object... args)
        Description copied from interface: Logger.LogInterface
        Log a string, but only once in a while. This is useful when we are logging frequently and only wish to see lines every second or so. How often logging is done is up to the implementation.
        Specified by:
        logs in interface Logger.LogInterface
        Parameters:
        s - printf style string
        args - printf args
      • startTrack

        public void startTrack​(java.lang.String s)
        Description copied from interface: Logger.LogInterface
        Start a track (a function, or some other logical unit of computation) with a name given by s.
        Specified by:
        startTrack in interface Logger.LogInterface
      • err

        public void err​(java.lang.String s,
                        java.lang.Object... args)
        Specified by:
        err in interface Logger.LogInterface
      • warn

        public void warn​(java.lang.String string,
                         java.lang.Object... args)
        Specified by:
        warn in interface Logger.LogInterface
      • logss

        public void logss​(java.lang.String string,
                          java.lang.Object... args)
        Specified by:
        logss in interface Logger.LogInterface