Top | ![]() |
![]() |
![]() |
![]() |
char | prefix | Read / Write / Construct Only |
CamelIMAPXServer * | server | Read / Write / Construct Only |
CamelIMAPXLogger is a simple GConverter that just echos data to standard output if the I/O debugging setting is enabled ('CAMEL_DEBUG=imapx:io'). Attaches to the GInputStream and GOutputStream.
GConverter * camel_imapx_logger_new (gchar prefix
,CamelIMAPXServer *server
);
Creates a new CamelIMAPXLogger. Each output line generated by the
logger will have a prefix string that includes the prefix
character
to distinguish it from other active loggers.
The server
can hint to discard logging for certain commands.
Since: 3.12
gchar
camel_imapx_logger_get_prefix (CamelIMAPXLogger *logger
);
Returns the prefix character passed to camel_imapx_logger_new()
.
Since: 3.12
struct CamelIMAPXLogger;
Contains only private data that should be read and manipulated using the functions below.
Since: 3.12
“prefix”
property “prefix” char
Output prefix to distinguish connections.
Owner: CamelIMAPXLogger
Flags: Read / Write / Construct Only
Allowed values: >= 32
Default value: 42
“server”
property“server” CamelIMAPXServer *
Owner: CamelIMAPXLogger
Flags: Read / Write / Construct Only