LoggerFilter


Description:

[ CCode ( instance_pos = 2.9 ) ]
public delegate LoggerLogLevel LoggerFilter (Logger logger, Message msg)

The prototype for a logging filter.

The filter callback will be invoked for each request or response, and should analyze it and return a [enum@LoggerLogLevel] value indicating how much of the message to log.

Parameters:

logger

the Logger

msg

the message being logged

user_data

the data passed to [method@Logger.set_request_filter] or [method@Logger.set_response_filter]

Returns:

a [enum@LoggerLogLevel] value indicating how much of the message to log


Namespace: Soup
Package: libsoup-3.0