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 [[email protected]_request_filter] or [[email protected]_response_filter]

Returns:

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


Namespace: Soup
Package: libsoup-3.0



2022 vala-language.org