Logger.this

Creates a new #SoupLogger with the given debug level. If @level is %SOUP_LOGGER_LOG_BODY, @max_body_size gives the maximum number of bytes of the body that will be logged. (-1 means "no limit".)

If you need finer control over what message parts are and aren't logged, use soup_logger_set_request_filter() and soup_logger_set_response_filter().

  1. this(SoupLogger* soupLogger, bool ownedRef)
  2. this(SoupLoggerLogLevel level, int maxBodySize)
    class Logger

Parameters

level SoupLoggerLogLevel

the debug level

maxBodySize int

the maximum body size to output, or -1

Return Value

a new #SoupLogger

Throws

ConstructionException GTK+ fails to create the object.

Meta