com.anywherecommerce.android.sdk
Class Logger
-
java.lang.Object
-
com.anywherecommerce.android.sdk.Logger
-
public class <span class="typeNameLabel">Logger</span> extends java.lang.Object
Nested Class Summary
Modifier and TypeClass and Description`static class ``<span class="memberNameLink">
Field Summary
Modifier and TypeField and Description`static int``<span class="memberNameLink">
ERROR
static int``
INFO
protected static int``
logLevel
protected static java.lang.String``
streamId
protected static boolean``
streamLog
static int``
VERBOSE
static int``
Constructor Summary
Constructor and Description`<span class="memberNameLink">
Logger()`
Method Summary
Modifier and TypeMethod and Description`static void``<span class="memberNameLink">
d(java.lang.String message)
static void``
e(java.lang.String message)
static void``
i(java.lang.String message)
static void``
logAction(int resIdClicked)
static void``
logAction(java.lang.String action)
static void````
logDialog(java.lang.String type,
java.lang.String title,
java.lang.String message,
java.lang.String detail)
` `static void
logError(java.lang.String message)
static void````
logError(java.lang.String tag,
java.lang.String message)
``
static void````
logError(java.lang.String tag,
java.lang.String message,
java.lang.Exception e)
``
static void````
logException(java.lang.String msg,
java.lang.Throwable e)
` `static void
logException(java.lang.Throwable e)
static void``
printStackTrace()
static void``
setDebugMode(boolean enabled)
static void``
setLogLevel(int level)
static void``
trace(java.lang.String message)
static void````
trace(java.lang.String tag,
java.lang.String message)
``
static void````
traceIf(boolean condition,
java.lang.String message)
` `static void
traceMethodCall()
static void``
traceMethodCall(java.lang.String tag)
static void``
Logger.MethodParam... arguments)
static void``
traceMethodWithParameters(java.lang.Object... params)
static void``
v(java.lang.String message)
static void``
w(java.lang.String message)
static void``
warn(java.lang.String message)
static void````
warnIf(boolean condition,
java.lang.String message)
``
protected static void````
write(java.lang.String tag,
java.lang.String message)
` `static void
WriteToTransactionLog(java.lang.String message)
static void``
wtf(java.lang.String message)
static void````
wtf(java.lang.String tag,
java.lang.String message)
```
Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`
Field Detail
ERROR
`public static final int ERROR`See Also:[Constant Field Values](#constant-values.html#com.anywherecommerce.android.sdk.Logger.ERROR)
WARNING
`public static final int WARNING`See Also:[Constant Field Values](#constant-values.html#com.anywherecommerce.android.sdk.Logger.WARNING)
INFO
`public static final int INFO`See Also:[Constant Field Values](#constant-values.html#com.anywherecommerce.android.sdk.Logger.INFO)
VERBOSE
`public static final int VERBOSE`See Also:[Constant Field Values](#constant-values.html#com.anywherecommerce.android.sdk.Logger.VERBOSE)
streamId
`protected static java.lang.String streamId`
streamLog
`protected static boolean streamLog`
logLevel
`protected static int logLevel`
Constructor Detail
Logger
`public Logger()`
Method Detail
setLogLevel
`public static void setLogLevel(int level)`
setDebugMode
`public static void setDebugMode(boolean enabled)`
logAction
`public static void logAction(int resIdClicked)`
logAction
`public static void logAction(java.lang.String action)`
logDialog
```
public static void logDialog(java.lang.String type,
java.lang.String title,
java.lang.String message,
java.lang.String detail)
```
write
```
protected static void write(java.lang.String tag,
java.lang.String message)
```
v
`public static void v(java.lang.String message)`
i
`public static void i(java.lang.String message)`
w
`public static void w(java.lang.String message)`
e
`public static void e(java.lang.String message)`
d
`public static void d(java.lang.String message)`
traceIf
```
public static void traceIf(boolean condition,
java.lang.String message)
```
warn
`public static void warn(java.lang.String message)`
warnIf
```
public static void warnIf(boolean condition,
java.lang.String message)
```
trace
`public static void trace(java.lang.String message)`
trace
```
public static void trace(java.lang.String tag,
java.lang.String message)
```
traceMethodWithParameters
`public static void traceMethodWithParameters(
Logger.MethodParam... arguments)`
traceMethodWithParameters
`public static void traceMethodWithParameters(java.lang.Object... params)`
logError
```
public static void logError(java.lang.String tag,
java.lang.String message)
```
logError
`public static void logError(java.lang.String message)`
logError
```
public static void logError(java.lang.String tag,
java.lang.String message,
java.lang.Exception e)
```
WriteToTransactionLog
`public static void WriteToTransactionLog(java.lang.String message)`
wtf
```
public static void wtf(java.lang.String tag,
java.lang.String message)
```
wtf
`public static void wtf(java.lang.String message)`
traceMethodCall
`public static void traceMethodCall()`
traceMethodCall
`public static void traceMethodCall(java.lang.String tag)`
logException
`public static void logException(java.lang.Throwable e)`
logException
```
public static void logException(java.lang.String msg,
java.lang.Throwable e)
```
printStackTrace
`public static void printStackTrace()`