[ 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.
logger |
the Logger |
msg |
the message being logged |
user_data |
the data passed to [[email protected]_request_filter] or [[email protected]_response_filter] |
a [enum@LoggerLogLevel] value indicating how much of the message to log |