Log4g Reference Manual | ||||
---|---|---|---|---|
Top | Description |
Log4gQuietWriter; Log4gQuietWriterClass; void log4g_quiet_writer_close (Log4gQuietWriter *self
); void log4g_quiet_writer_flush (Log4gQuietWriter *self
); Log4gQuietWriter * log4g_quiet_writer_new (FILE *file
,gpointer error
); void log4g_quiet_writer_set_error_handler (Log4gQuietWriter *self
,gpointer error
); void log4g_quiet_writer_set_file (Log4gQuietWriter *self
,FILE *file
); void log4g_quiet_writer_write (Log4gQuietWriter *self
,const char *string
); void (*Log4gQuietWriterWrite) (Log4gQuietWriter *self
,const gchar *string
);
typedef struct { } Log4gQuietWriter;
The Log4gQuietWriter structure does not have any public members.
typedef struct { Log4gQuietWriterWrite write; } Log4gQuietWriterClass;
Log4gQuietWriterWrite |
Write to a stdio(3) stream. |
void log4g_quiet_writer_close (Log4gQuietWriter *self
);
Close the stdio(3) stream held by a quiet writer object.
See
: stdio(3)
|
A quiet writer object. |
Since 0.1
void log4g_quiet_writer_flush (Log4gQuietWriter *self
);
Flush the stdio(3) stream.
See
: stdio(3)
|
A quiet writer object. |
Since 0.1
Log4gQuietWriter * log4g_quiet_writer_new (FILE *file
,gpointer error
);
Create a new quiet writer object.
See
: stdio(3)
|
An open stdio(3) stream. |
|
The error handler to use. |
Returns : |
A new quiet writer object. |
Since 0.1
void log4g_quiet_writer_set_error_handler (Log4gQuietWriter *self
,gpointer error
);
Set the error handler for a quiet writer.
See
: Log4gErrorHandlerInterface
|
A quiet writer object. |
|
A new error handler for self .
|
Since 0.1
void log4g_quiet_writer_set_file (Log4gQuietWriter *self
,FILE *file
);
Set the stdio(3) stream to write to.
See
: stdio(3)
|
A quiet writer object. |
|
An open stdio(3) stream. |
Since 0.1
void log4g_quiet_writer_write (Log4gQuietWriter *self
,const char *string
);
Call the write
function from the Log4gQuietWriterClass of self
.
|
A quiet writer object. |
|
The string to write. |
Since 0.1
void (*Log4gQuietWriterWrite) (Log4gQuietWriter *self
,const gchar *string
);
Write a string to a stdio(3) stream.
|
A quiet writer object. |
|
The string to write. |
Since 0.1