Package 

Interface ILogListener


  • 
    public interface ILogListener
    
                        

    A listener to receive all logging messages the OneSignal SDK produces. Implement this interface and add it via IDebugManager.addLogListener to capture and process SDK logs, for example to send them to your own logging service.

    Note: All log messages are always passed to this listener regardless of the IDebugManager.logLevel setting.

    • Method Summary

      Modifier and Type Method Description
      abstract Unit onLogEvent(OneSignalLogEvent event) Called when a log event occurs in the OneSignal SDK.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait