follow_logs_sync


Description:

[ Version ( since = "1.64" ) ]
public bool follow_logs_sync (string[]? names, LogCallback log_callback, Cancellable? cancellable = null) 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 call when a log is received.

cancellable

a Cancellable or null.

log_callback_data

the data to pass to log_callback.

Returns:

true on success.