Log4gModule

Log4gModule — Loadable appender, filter & layout modules

Synopsis

                    Log4gModule;
                    Log4gModuleClass;
GTypeModule *       log4g_module_new                    (const gchar *file);
void                log4g_module_load                   (GTypeModule *module);

Description

This class implements a dynamic module system in order to make appenders, layouts & filters available to the Log4g system.

Details

Log4gModule

typedef struct {
} Log4gModule;

The Log4gModule structure does not have any public members.


Log4gModuleClass

typedef struct {
} Log4gModuleClass;

The Log4gModuleClass structure does not have any public members.


log4g_module_new ()

GTypeModule *       log4g_module_new                    (const gchar *file);

Create a new module.

file :

The path of the file to load as a module.

Returns :

A new module object.

Since 0.1


log4g_module_load ()

void                log4g_module_load                   (GTypeModule *module);

Extension modules must implement this function.

This function is run after the module has been loaded in order to load dynamic types for use by the Log4g system.

module :

A Log4gModule object.

Since 0.1