| Log4g Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
Log4gCountingQuietWriter; Log4gCountingQuietWriterClass; gulong log4g_counting_quiet_writer_get_count (Log4gQuietWriter *base); Log4gQuietWriter * log4g_counting_quiet_writer_new (FILE *file,GObject *error); void log4g_counting_quiet_writer_set_count (Log4gQuietWriter *base,gulong count);
typedef struct {
} Log4gCountingQuietWriter;
The Log4gCountingQuietWriter structure does not have any public members.
typedef struct {
} Log4gCountingQuietWriterClass;
The Log4gCountingQuietWriterClass structure does not have any public members.
gulong log4g_counting_quiet_writer_get_count
(Log4gQuietWriter *base);
Retrieve the number of bytes written.
|
A counting quiet writer object. |
Returns : |
The number of bytes written by base.
|
Since 0.1
Log4gQuietWriter * log4g_counting_quiet_writer_new (FILE *file,GObject *error);
Create a new counting quiet writer object.
See: stdio(3), Log4gErrorHandlerInterface
|
The an open stdio(3) stream to write to. |
|
The error handler to use. |
Returns : |
A new counting quiet writer object. |
Since 0.1
void log4g_counting_quiet_writer_set_count (Log4gQuietWriter *base,gulong count);
Set the number of bytes a counting quiet writer thinks it has written.
This function is mostly useful for resetting the count to zero.
|
A counting quiet writer object. |
|
The number of bytes base will think it has written.
|
Since 0.1