Package com.wallee.android.till.sdk
Class TillLog
- java.lang.Object
-
- com.wallee.android.till.sdk.TillLog
-
public class TillLog extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
bind(Activity activity)
Bind the API server to the givenActivity
.static void
debug(String logMessage)
Send Debug Logsstatic void
error(String logMessage)
Send Error Logsstatic TillLog
getInstance()
static void
info(String logMessage)
Send Info Logsstatic void
lAssert(String logMessage)
Send Assert Logs (Wallee Payment App)void
unbind(Activity activity)
Unbind the API server from the givenActivity
.static void
warning(String logMessage)
Send Warning Logs
-
-
-
Constructor Detail
-
TillLog
public TillLog()
Instantiate anTillLog
-
-
Method Detail
-
getInstance
public static TillLog getInstance()
-
bind
public void bind(Activity activity)
Bind the API server to the givenActivity
. 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 thisActivity
.
-
unbind
public void unbind(Activity activity)
Unbind the API server from the givenActivity
.- Parameters:
activity
- the activity the service will get unbound from. Must be the same activity that was passed intoApiClient.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)
-
-