setup_logging


Description:

public void setup_logging (string? logging_level)

Setups logging for the this.

The logging_level can be one of: "all" - log whole raw communication; "body" - the same as "all"; "headers" - log the headers only; "min" - minimal logging; "1" - the same as "all". Any other value, including null, disables logging.

Use get_log_level to get current log level.

Parameters:

this

an SoupSession

logging_level

logging level to setup, or null