Class LogItem


  • public class LogItem
    extends java.lang.Object
    Passed to LogListener.onLog(LogItem) under certain abnormal conditions (warnings, potential errors, and the like).
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  LogItem.Event
      Describes the event which triggered the log item.
      static class  LogItem.Source
      Describes the source of this log item.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Error getError()
      Gets the error associated with the event.
      LogItem.Event getEvent()
      Gets the event which triggered the log item.
      LogItem.Source getSource()
      Gets the source of the log item.
      java.util.List<java.net.URL> getThirdPartySourceURLs()
      In case of a failed third party request, gets path of third party ads fetched until an error occurred; only relevant when source is AD.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getEvent

        public LogItem.Event getEvent()
        Gets the event which triggered the log item.
        Returns:
        The event.
      • getSource

        public LogItem.Source getSource()
        Gets the source of the log item.
        Returns:
        The source of the log item.
      • getError

        public Error getError()
        Gets the error associated with the event.
        Returns:
        The error.
      • getThirdPartySourceURLs

        public java.util.List<java.net.URL> getThirdPartySourceURLs()
        In case of a failed third party request, gets path of third party ads fetched until an error occurred; only relevant when source is AD.
        Returns:
        The list of third party URLs loaded.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object