get_logs_async


Description:

[ Version ( since = "1.64" ) ]
public async GenericArray<unowned Log> get_logs_async (string[]? names, size_t n, Cancellable? cancellable) throws Error

Asynchronously get logs for snap services.

See get_logs_sync for more information.

Parameters:

this

a Client.

names

a null-terminated array of service names or null.

n

the number of logs to return or 0 for default.

cancellable

a Cancellable or null.

callback

a TaskReadyCallback to call when the request is satisfied.

user_data

the data to pass to callback function.