Package 

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
      abstract void log(@NonNull() LogParameters parameters) Invoked every time a log message satisfying the log level filter is available.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • log

         abstract void log(@NonNull() LogParameters parameters)

        Invoked every time a log message satisfying the log level filter is available. If no filtersare set, a default filter of ERROR is used by the SDK on all modules.

        Parameters:
        parameters - A LogParameters object that contains parameters about the logmessage.