Interface LoggerInterface


public interface LoggerInterface
The Logger interface provides a mechanism to define a custom logger. Implementing this interface is optional. By default, the Android SDK logs to stdout using android.util.Log. Implementing this interface allows for a customized logging experience such as logging to a file, sending the log messages to a server, etc.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    log(LogParameters parameters)
    Invoked every time a log message satisfying the log level filter is available.
  • Method Details

    • log

      void log(@NonNull LogParameters parameters)
      Invoked every time a log message satisfying the log level filter is available. If no filters are set, a default filter of LogLevel.ERROR is used by the SDK on all modules.
      Parameters:
      parameters - A LogParameters object that contains parameters about the log message.