GObject.Object
Soup.Logger
Import line: | Soup = imports.gi.Soup; |
GIR File: | Soup-2.4.gir |
C documentation: | SoupLogger |
Class : | Logger |
Implements: | Soup.SessionFeature |
Extends: | GObject.Object |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
parent : GObject.Object
read only
|
Soup.Logger |
Method / Constructor | Defined By | |
---|---|---|
new Soup.Logger
(Object properties)
Create a new Soup.Logger
Create a new Soup.Logger
|
||
Create a new Soup.Logger
Create a new Soup.Logger
|
||
attach
(Session session)
:
none
Sets logger to watch session and print debug information for its messages.
Sets logger to watch session and print debug information for its messages. (The session will take a reference on logger, which will be removed when you call soup_logger_detach(), or when the session is destroyed.)
|
Soup.Logger | |
detach
(Session session)
:
none
Stops logger from watching session.
Stops logger from watching session.
|
Soup.Logger | |
Sets up an alternate log printing routine, if you don't want the log to go to stdout.
Sets up an alternate log printing routine, if you don't want the log to go to stdout.
|
Soup.Logger | |
Sets up a filter to determine the log level for a given request.
Sets up a filter to determine the log level for a given request. For each HTTP request logger will invoke request_filter to determine how much (if any) of that request to log. (If you do not set a request filter, logger will just always log requests at the level passed to soup_logger_new().)
|
Soup.Logger | |
Sets up a filter to determine the log level for a given response.
Sets up a filter to determine the log level for a given response. For each HTTP response logger will invoke response_filter to determine how much (if any) of that response to log. (If you do not set a response filter, logger will just always log responses at the level passed to soup_logger_new().)
|
Soup.Logger |
None |