EmbraceLogger

public class EmbraceLogger

Wrapper for the Android Log utility. This class is part of the Embrace Public API.

Types

Link copied to clipboard
public enum Severity
The severity of the log message.

Functions

Link copied to clipboard
public static void log(    EmbraceLogger.Severity severity,     String msg,     Throwable throwable,     boolean logStacktrace)
Logs a message with a stack trace at the specified severity.
Link copied to clipboard
public static void logDebug(String msg)
Logs a debug message.
public static void logDebug(String msg, Throwable throwable)
Logs a debug message and sends exception to Embrace.
public static void logDebug(    String msg,     Throwable throwable,     Boolean logStacktrace)
Logs a debug message with a stack trace.
Link copied to clipboard
public static void logError(String msg)
Logs an error message.
public static void logError(String msg, Throwable throwable)
Logs an error and sends exception to Embrace.
public static void logError(    String msg,     Throwable throwable,     Boolean logStacktrace)
Logs an error message with a stack trace.
Link copied to clipboard
public static void logInfo(String msg)
Logs an info message.
public static void logInfo(String msg, Throwable throwable)
Logs an info message and sends exception to Embrace.
public static void logInfo(    String msg,     Throwable throwable,     Boolean logStacktrace)
Logs an info message with a stack trace.
Link copied to clipboard
public static void logWarning(String msg)
Logs a warning message.
public static void logWarning(String msg, Throwable throwable)
Logs a warning message and sends exception to Embrace.
public static void logWarning(    String msg,     Throwable throwable,     Boolean logStacktrace)
Logs a warning message with a stack trace.
Link copied to clipboard
public static void setThreshold(EmbraceLogger.Severity threshold)
Sets the logging threshold.