Interface Logs

All Known Implementing Classes:
LocalLogs, RemoteLogs

@Beta public interface Logs
Interface for providing logs.
  • Method Summary

    Modifier and Type
    Method
    Description
    get(String logType)
    Fetches available log entries for the given log type.
    Queries for available log types.
  • Method Details

    • get

      LogEntries get(String logType)
      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.

      Parameters:
      logType - The log type.
      Returns:
      Available log entries for the specified log type.
    • getAvailableLogTypes

      Set<String> getAvailableLogTypes()
      Queries for available log types.
      Returns:
      A set of available log types.