LogService class

The service that handles the Log APIs.

Usually shouldn't be initialized manually and instead PocketBase.logs should be used.

Constructors

LogService(PocketBase client)

Properties

client PocketBase
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getList({int page = 1, int perPage = 30, String? filter, String? sort, Map<String, dynamic> query = const {}, Map<String, String> headers = const {}}) Future<ResultList<LogModel>>
Returns paginated logs list.
getOne(String id, {Map<String, dynamic> query = const {}, Map<String, String> headers = const {}}) Future<LogModel>
Returns a single log by its id.
getStats({Map<String, dynamic> query = const {}, Map<String, String> headers = const {}}) Future<List<LogStat>>
Returns request logs statistics.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited