LogStream

com.anywherecommerce.android.sdk

Class LogStream

  • java.lang.Object

  • com.anywherecommerce.android.sdk.LogStream

  • public class <span class="typeNameLabel">LogStream</span>
    extends java.lang.Object
    

Field Summary

  Modifier and TypeField and Description`static java.lang.String``<span class="memberNameLink">

logStreamId static boolean``

streamToServer`

Constructor Summary

  Constructor and Description`<span class="memberNameLink">

LogStream()`

Method Summary

  Modifier and TypeMethod and Description`

LogStream``

action()

LogStream``

device() void``

error(

MeaningfulError error) void``

error(java.lang.String log) void``

exception(java.lang.Exception ex) static java.lang.String``

getLogStreamId() void``

info(java.lang.String log) void``

payload(java.lang.Object s) void``

stacktrace() void``

trace() void``

trace(java.lang.String log) void````

traceIf(boolean condition,
java.lang.String message)
` `void

traceWithParams() void````

valueOf(java.lang.String name,
java.lang.Object value)
`` void````

warnIf(boolean condition,
java.lang.String message)
` `void

warning(

MeaningfulMessage log) void``

warning(java.lang.String log)`

Methods inherited from class java.lang.Object

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

Field Detail

streamToServer

        `public static boolean streamToServer`

logStreamId

        `public static java.lang.String logStreamId`

Constructor Detail

LogStream

        `public LogStream()`

Method Detail

getLogStreamId

        `public static java.lang.String getLogStreamId()`

device

        `public 

LogStream device()`

action

        `public 

LogStream action()`

trace

        `public void trace()`

traceWithParams

        `public void traceWithParams()`

trace

        `public void trace(java.lang.String log)`

info

        `public void info(java.lang.String log)`

error

        `public void error(java.lang.String log)`

error

        `public void error(

MeaningfulError error)`

exception

        `public void exception(java.lang.Exception ex)`

warning

        `public void warning(java.lang.String log)`

warning

        `public void warning(

MeaningfulMessage log)`

warnIf

        ```
        public void warnIf(boolean condition,
                           java.lang.String message)
        ```

traceIf

        ```
        public void traceIf(boolean condition,
                            java.lang.String message)
        ```

valueOf

        ```
        public void valueOf(java.lang.String name,
                            java.lang.Object value)
        ```

stacktrace

        `public void stacktrace()`

payload

        `public void payload(java.lang.Object s)`