Package 

Object Log

  • All Implemented Interfaces:

    
    public class Log
    
                        

    Logger with support for minimum log level Relies on android.util.Log for the actual logging

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static Integer level
      public final static Log INSTANCE
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static Unit d(String message, Throwable throwable) Log a message with level DEBUG
      final static Unit d(String message) Log a message with level DEBUG
      final static Unit e(String message, Throwable throwable) Log a message with level ERROR
      final static Unit e(String message) Log a message with level ERROR
      final static Unit i(String message, Throwable throwable) Log a message with level INFO
      final static Unit i(String message) Log a message with level INFO
      final static Unit v(String message, Throwable throwable) Log a message with level VERBOSE
      final static Unit v(String message) Log a message with level VERBOSE
      final static Unit w(String message, Throwable throwable) Log a message with level WARN
      final static Unit w(String message) Log a message with level WARN
      final Boolean preventLogForLevel(Integer logLevel) Check if log level is prevented
      final static Integer getLevel() Min level of messages to log
      final static Unit setLevel(static Integer level) Min level of messages to log
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait