Interface for providing logs.
| 22 | |
| 23 | /** Interface for providing logs. */ |
| 24 | @Beta |
| 25 | public interface Logs { |
| 26 | |
| 27 | /** |
| 28 | * Fetches available log entries for the given log type. |
| 29 | * |
| 30 | * <p>Note that log buffers are reset after each call, meaning that available log entries |
| 31 | * correspond to those entries not yet returned for a given log type. In practice, this means that |
| 32 | * this call will return the available log entries since the last call, or from the start of the |
| 33 | * session. |
| 34 | * |
| 35 | * <p>For more info on enabling logging, look at {@link LoggingPreferences}. |
| 36 | * |
| 37 | * @param logType The log type. |
| 38 | * @return Available log entries for the specified log type. |
| 39 | */ |
| 40 | LogEntries get(String logType); |
| 41 | |
| 42 | /** |
| 43 | * Queries for available log types. |
| 44 | * |
| 45 | * @return A set of available log types. |
| 46 | */ |
| 47 | Set<String> getAvailableLogTypes(); |
| 48 | } |
no outgoing calls
no test coverage detected