Class TillLog


  • public class TillLog
    extends Object
    • Constructor Detail

      • TillLog

        public TillLog()
        Instantiate an TillLog
    • Method Detail

      • getInstance

        public static TillLog getInstance()
      • bind

        public void bind​(Activity activity)
        Bind the API server to the given Activity. This will initialize the API server and enable calling API methods.
        Parameters:
        activity - the activity the service will get bound to. I.e. the lifecycle of the API service will be the same as this Activity.
      • unbind

        public void unbind​(Activity activity)
        Unbind the API server from the given Activity.
        Parameters:
        activity - the activity the service will get unbound from. Must be the same activity that was passed into ApiClient.bind(Activity).
      • debug

        public static void debug​(String logMessage)
        Send Debug Logs
        Parameters:
        logMessage -
      • error

        public static void error​(String logMessage)
        Send Error Logs
        Parameters:
        logMessage -
      • info

        public static void info​(String logMessage)
        Send Info Logs
        Parameters:
        logMessage -
      • warning

        public static void warning​(String logMessage)
        Send Warning Logs
        Parameters:
        logMessage -
      • lAssert

        public static void lAssert​(String logMessage)
        Send Assert Logs (Wallee Payment App)