/** * Returns an option to sort log entries. If not specified, log entries are sorted in ascending * (most-recent last) order with respect to the {@link LogEntry#getTimestamp()} value. */ public static EntryListOption sortOrder(SortingField field, SortingOrder order) { return new EntryListOption(OptionType.ORDER_BY, field.selector() + ' ' + order.selector()); }
/** * Returns an option to sort log entries. If not specified, log entries are sorted in ascending * (most-recent last) order with respect to the {@link LogEntry#getTimestamp()} value. */ public static EntryListOption sortOrder(SortingField field, SortingOrder order) { return new EntryListOption(OptionType.ORDER_BY, field.selector() + ' ' + order.selector()); }