Class RemoteLogs

  • All Implemented Interfaces:
    Logs

    @Beta
    public class RemoteLogs
    extends java.lang.Object
    implements Logs
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      LogEntries get​(java.lang.String logType)
      Fetches available log entries for the given log type.
      java.util.Set<java.lang.String> getAvailableLogTypes()
      Queries for available log types.
      • Methods inherited from class java.lang.Object

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

      • get

        public LogEntries get​(java.lang.String logType)
        Description copied from interface: Logs
        Fetches available log entries for the given log type. Note that log buffers are reset after each call, meaning that available log entries correspond to those entries not yet returned for a given log type. In practice, this means that this call will return the available log entries since the last call, or from the start of the session. For more info on enabling logging, look at LoggingPreferences.
        Specified by:
        get in interface Logs
        Parameters:
        logType - The log type.
        Returns:
        Available log entries for the specified log type.
      • getAvailableLogTypes

        public java.util.Set<java.lang.String> getAvailableLogTypes()
        Description copied from interface: Logs
        Queries for available log types.
        Specified by:
        getAvailableLogTypes in interface Logs
        Returns:
        A set of available log types.