set_logging_sync


Description:

[ Version ( since = "1.0" ) ]
public bool set_logging_sync (string level, Cancellable? cancellable = null) throws Error

Synchronously requests to set the specified logging level in the daemon.

The calling thread is blocked until a reply is received.

See set_logging for the asynchronous version of this method.

Parameters:

this

A Manager.

level

the login level to set.

cancellable

A Cancellable or null.

Returns:

true if the call succeeded, false if error is set.




2022 vala-language.org