follow_logs_async


Description:

[ Version ( since = "1.64" ) ]
public async bool follow_logs_async (string[]? names, LogCallback log_callback, Cancellable? cancellable) throws Error

Follow logs for snap services.

This call will only complete if snapd closes the connection and will stop any other request on this client from being sent.

Parameters:

this

a Client.

names

a null-terminated array of service names or null.

log_callback

a LogCallback to c (log_callback_data)all when a log is received.

cancellable

a Cancellable or null.

callback

a TaskReadyCallback to call when the request is satisfied.

log_callback_data

the data to pass to log_callback.

user_data

the data to pass to callback function.