logWarning

public void logWarning(@NonNull() String message)

Remotely logs a message at WARN level. These log messages will appear as part of the session timeline, and can be used to describe what was happening at a particular time within the app.

Parameters

message

the message to remotely log


public void logWarning(@NonNull() String message, @Nullable() Map<String, Object> properties)

Remotely logs a message at WARN level. These log messages will appear as part of the session timeline, and can be used to describe what was happening at a particular time within the app.

Parameters

message

the message to remotely log

properties

custom key-value pairs to include with the log message


public void logWarning(    @NonNull() String message,     @Nullable() Map<String, Object> properties,     boolean allowScreenshot)

Remotely logs a message at WARN level. These log messages will appear as part of the session timeline, and can be used to describe what was happening at a particular time within the app.

Parameters

message

the message to remotely log

properties

custom key-value pairs to include with the log message

allowScreenshot

true if a screenshot should be taken for this message, false otherwise


public void logWarning(    @NonNull() String message,     @Nullable() Map<String, Object> properties,     boolean allowScreenshot,     @Nullable() String javascriptStackTrace)

Remotely logs a message at WARN level. These log messages will appear as part of the session timeline, and can be used to describe what was happening at a particular time within the app.

Parameters

message

the message to remotely log

properties

custom key-value pairs to include with the log message

allowScreenshot

true if a screenshot should be taken for this message, false otherwise

javascriptStackTrace

javascript stack trace coming from the the RN side