log4c
1.2.4
|
Log4c mmap(2) appender interface. More...
Go to the source code of this file.
Variables | |
__LOG4C_BEGIN_DECLS const log4c_appender_type_t | log4c_appender_type_mmap |
Log4c mmap(2) appender interface.
The mmap appender uses a fixed length memory mapped file for logging. The appender's name is used as the file name which will be opened and mapped to memory at first use. The memory mapped file is then used as a rotating buffer in which logging events are written.
The following examples shows how to define and use mmap appenders.
__LOG4C_BEGIN_DECLS const log4c_appender_type_t log4c_appender_type_mmap |
Mmap appender type definition.
This should be used as a parameter to the log4c_appender_set_type() routine to set the type of the appender.