Interface Logger.LogInterface

All Known Implementing Classes:
Logger.CompoundLogger, Logger.NullLogger, Logger.SystemLogger
Enclosing class:
Logger

public static interface Logger.LogInterface
Logging interface.
Author:
adampauls
  • Method Details

    • logs

      void logs(String s, Object... args)
      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.
      Parameters:
      s - printf style string
      args - printf args
    • logss

      void logss(String s)
      Always log this string.
      Parameters:
      s -
    • logss

      void logss(String string, Object... args)
    • startTrack

      void startTrack(String s)
      Start a track (a function, or some other logical unit of computation) with a name given by s.
      Parameters:
      s -
    • endTrack

      void endTrack()
      Ends a track, printing out how long the track took.
    • dbg

      void dbg(String s)
    • err

      void err(String s)
    • err

      void err(String s, Object... args)
    • warn

      void warn(String s)
    • warn

      void warn(String string, Object... args)