Table of Contents

Class Logger

Namespace
Soup.Internal
Assembly
Soup-3.0.dll
public class Logger
Inheritance
Logger
Inherited Members

Methods

GetGType()

Calls native function soup_logger_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetMaxBodySize(IntPtr)

Calls native method soup_logger_get_max_body_size.

public static extern int GetMaxBodySize(IntPtr logger)

Parameters

logger IntPtr

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

New(LoggerLogLevel)

Calls native constructor soup_logger_new.

public static extern IntPtr New(LoggerLogLevel level)

Parameters

level LoggerLogLevel

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

SetMaxBodySize(IntPtr, int)

Calls native method soup_logger_set_max_body_size.

public static extern void SetMaxBodySize(IntPtr logger, int maxBodySize)

Parameters

logger IntPtr

Transfer ownership: None Nullable: False

maxBodySize int

Transfer ownership: None Nullable: False

SetPrinter(IntPtr, LoggerPrinter, IntPtr, DestroyNotify)

Calls native method soup_logger_set_printer.

public static extern void SetPrinter(IntPtr logger, LoggerPrinter printer, IntPtr printerData, DestroyNotify destroy)

Parameters

logger IntPtr

Transfer ownership: None Nullable: False

printer LoggerPrinter

Transfer ownership: None Nullable: False

printerData IntPtr

Transfer ownership: None Nullable: True

destroy DestroyNotify

Transfer ownership: None Nullable: False

SetRequestFilter(IntPtr, LoggerFilter, IntPtr, DestroyNotify)

Calls native method soup_logger_set_request_filter.

public static extern void SetRequestFilter(IntPtr logger, LoggerFilter requestFilter, IntPtr filterData, DestroyNotify destroy)

Parameters

logger IntPtr

Transfer ownership: None Nullable: False

requestFilter LoggerFilter

Transfer ownership: None Nullable: False

filterData IntPtr

Transfer ownership: None Nullable: True

destroy DestroyNotify

Transfer ownership: None Nullable: False

SetResponseFilter(IntPtr, LoggerFilter, IntPtr, DestroyNotify)

Calls native method soup_logger_set_response_filter.

public static extern void SetResponseFilter(IntPtr logger, LoggerFilter responseFilter, IntPtr filterData, DestroyNotify destroy)

Parameters

logger IntPtr

Transfer ownership: None Nullable: False

responseFilter LoggerFilter

Transfer ownership: None Nullable: False

filterData IntPtr

Transfer ownership: None Nullable: True

destroy DestroyNotify

Transfer ownership: None Nullable: False