public interface

AppLovinLogger

com.applovin.sdk.AppLovinLogger

Class Overview

This is an interface for a logger used by the AppLovin SDK.

Summary

Constants
String SDK_TAG This is a tag that is used for all AppLovin SDK log message.
Public Methods
abstract void d(String source, String message)
Log a debug message.
abstract void e(String source, String message)
Log an error.
abstract void e(String source, String message, Throwable error)
Log an error.
abstract void i(String source, String message)
Log an information message.
abstract void userError(String source, String message, Throwable error)
Log an error that was produced by a user.
abstract void userError(String source, String message)
Log an error that was produced by a user.
abstract void w(String source, String message, Throwable th)
Log a warning.
abstract void w(String source, String message)
Log a warning.

Constants

public static final String SDK_TAG

This is a tag that is used for all AppLovin SDK log message. Tag's value is AppLovinSdk.

Constant Value: "AppLovinSdk"

Public Methods

public abstract void d (String source, String message)

Log a debug message.

Parameters
source Message source (class name or tag).
message Actual message.

public abstract void e (String source, String message)

Log an error. Note that logged error will be save and later submitted to AppLovin server for further analysis.

Parameters
source Error source (class name or tag).
message Error message.

public abstract void e (String source, String message, Throwable error)

Log an error. Note that logged error will be save and later submitted to AppLovin server for further analysis.

Parameters
source Error source (class name or tag).
message Error message.
error A throwable associated with the error.

public abstract void i (String source, String message)

Log an information message.

Parameters
source Message source (class name or tag).
message Actual message.

public abstract void userError (String source, String message, Throwable error)

Log an error that was produced by a user. A user in this context is someone who is integrating AppLovin SDK into an appliction.

User errors would be most likely a configuration problem or any other issue that could be resolved by developer's fix.

This message will be logged into logcat despite verbosity level.

Parameters
source Error source (class name or tag).
message Error message.
error Exception that caused the error.

public abstract void userError (String source, String message)

Log an error that was produced by a user. A user in this context is someone who is integrating AppLovin SDK into an appliction.

User errors would be most likely a configuration problem or any other issue that could be resolved by developer's fix.

This message will be logged into logcat despite verbosity level.

Parameters
source Error source (class name or tag).
message Error message.

public abstract void w (String source, String message, Throwable th)

Log a warning.

Parameters
source Warning source (class name or tag).
message Actual warning.
th A throwable associated with the warning.

public abstract void w (String source, String message)

Log a warning.

Parameters
source Warning source (class name or tag).
message Actual warning.