Log4g Reference Manual | ||||
---|---|---|---|---|
Top | Description |
Log4gProvisionNode; Log4gProvisionNodeClass; Log4gProvisionNode * log4g_provision_node_new (gpointer object
); void log4g_provision_node_add_element (Log4gProvisionNode *self
,gpointer object
); guint log4g_provision_node_size (Log4gProvisionNode *self
); gpointer log4g_provision_node_element_at (Log4gProvisionNode *self
,guint index
);
Provision nodes are place holders for non-instantiated loggers within the logger hierarchy.
see_also
: Log4gHierarchy
typedef struct { } Log4gProvisionNode;
The Log4gProvisionNode structure does not have any public members.
typedef struct { } Log4gProvisionNodeClass;
The Log4gProvisionNodeClass structure does not have any public members.
Log4gProvisionNode * log4g_provision_node_new (gpointer object
);
Create a Log4gProvisionNode object and add an element.
|
The object to add to this provision node. |
Returns : |
A new Log4gProvisionNode object. |
Since 0.1
void log4g_provision_node_add_element (Log4gProvisionNode *self
,gpointer object
);
Add an element to a provision node.
|
A provision node object. |
|
The object to add to self .
|
Since 0.1
guint log4g_provision_node_size (Log4gProvisionNode *self
);
Retrieve the number of objects in a provision node.
|
A provision node object. |
Since 0.1
gpointer log4g_provision_node_element_at (Log4gProvisionNode *self
,guint index
);
Retrieve an indexed element from a provision node.
|
A provision node object. |
|
The object index to retrieve. |
Returns : |
The object at index or NULL if none exists.
|
Since 0.1