Package 

Object SDKLogger


  • 
    public class SDKLogger
    
                        

    Centralized logging utility for the DoorstepAI SDK. All logs are only printed when dev mode is enabled.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final static SDKLogger INSTANCE
    • Method Summary

      Modifier and Type Method Description
      final Unit d(String tag, String message) Log a debug message (only if dev mode is enabled)
      final Unit d(String tag, String message, Throwable throwable) Log a debug message with throwable (only if dev mode is enabled)
      final Unit i(String tag, String message) Log an info message (only if dev mode is enabled)
      final Unit i(String tag, String message, Throwable throwable) Log an info message with throwable (only if dev mode is enabled)
      final Unit w(String tag, String message) Log a warning message (only if dev mode is enabled)
      final Unit w(String tag, String message, Throwable throwable) Log a warning message with throwable (only if dev mode is enabled)
      final Unit e(String tag, String message) Log an error message (only if dev mode is enabled)
      final Unit e(String tag, String message, Throwable throwable) Log an error message with throwable (only if dev mode is enabled)
      final Unit v(String tag, String message) Log a verbose message (only if dev mode is enabled)
      final Unit v(String tag, String message, Throwable throwable) Log a verbose message with throwable (only if dev mode is enabled)
      final Unit wtf(String tag, String message) Log a what-a-terrible-failure message (only if dev mode is enabled)
      final Unit wtf(String tag, String message, Throwable throwable) Log a what-a-terrible-failure message with throwable (only if dev mode is enabled)
      • Methods inherited from class java.lang.Object

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

      • d

         final Unit d(String tag, String message)

        Log a debug message (only if dev mode is enabled)

      • d

         final Unit d(String tag, String message, Throwable throwable)

        Log a debug message with throwable (only if dev mode is enabled)

      • i

         final Unit i(String tag, String message)

        Log an info message (only if dev mode is enabled)

      • i

         final Unit i(String tag, String message, Throwable throwable)

        Log an info message with throwable (only if dev mode is enabled)

      • w

         final Unit w(String tag, String message)

        Log a warning message (only if dev mode is enabled)

      • w

         final Unit w(String tag, String message, Throwable throwable)

        Log a warning message with throwable (only if dev mode is enabled)

      • e

         final Unit e(String tag, String message)

        Log an error message (only if dev mode is enabled)

      • e

         final Unit e(String tag, String message, Throwable throwable)

        Log an error message with throwable (only if dev mode is enabled)

      • v

         final Unit v(String tag, String message)

        Log a verbose message (only if dev mode is enabled)

      • v

         final Unit v(String tag, String message, Throwable throwable)

        Log a verbose message with throwable (only if dev mode is enabled)

      • wtf

         final Unit wtf(String tag, String message)

        Log a what-a-terrible-failure message (only if dev mode is enabled)

      • wtf

         final Unit wtf(String tag, String message, Throwable throwable)

        Log a what-a-terrible-failure message with throwable (only if dev mode is enabled)