logError

public static void logError(String msg)

Logs an error message.

Parameters

msg

the message to log


public static void logError(String msg, Throwable throwable)

Logs an error and sends exception to Embrace.

Parameters

msg

the message to log

throwable

the exception


public static void logError(    String msg,     Throwable throwable,     Boolean logStacktrace)

Logs an error message with a stack trace.

Parameters

msg

the message to log

throwable

the exception

logStacktrace

include stacktrace in log