Class Log


  • public class Log
    extends Object
    To avoid dependencies on logging frameworks, we have invented yet another logging framework :-)
    • Constructor Detail

      • Log

        public Log()
    • Method Detail

      • setAdapter

        public static void setAdapter​(Log.Adapter adapter)
        Change how logging is handled. You can set your own implementation that forwards to your logging library.
      • trace

        public static void trace​(String format,
                                 Object... args)
        For logging information that may help solving a problem.
      • info

        public static void info​(String format,
                                Object... args)
        For logging things that are nice to see scrolling by.
      • error

        public static void error​(Throwable throwable)
        For drawing attention to an error.
      • error

        public static void error​(Throwable throwable,
                                 String format,
                                 Object... args)
        For drawing attention to an error that you don't have an exception for.
      • error

        public static void error​(String format,
                                 Object... args)
        For drawing attention to an error that you don't have an exception for.