Logger


Description:

[ CCode ( has_construct_function = false ) ]
public Logger (LoggerLogLevel level)

Creates a new Logger with the given debug level.

If you need finer control over what message parts are and aren't logged, use [method@Logger.set_request_filter] and [ method@Logger.set_response_filter].

Parameters:

level

the debug level

Returns:

a new Logger