Log4g Reference Manual | ||||
---|---|---|---|---|
Top | Description |
Log4gLoggerFactory; Log4gLoggerFactoryInterface; Log4gLogger * log4g_logger_factory_make_new_logger_instance (Log4gLoggerFactory *self
,const gchar *name
); Log4gLogger (*Log4gLoggerFactoryMakeNewLoggerInstance) (Log4gLoggerFactory *self
,const gchar *name
);
Implement this interface to create new instances of Log4gLogger or a sub-class of Log4gLogger.
typedef struct { Log4gLoggerFactoryMakeNewLoggerInstance make_new_logger_instance; } Log4gLoggerFactoryInterface;
Log4gLoggerFactoryMakeNewLoggerInstance |
Create a new logger object. |
Log4gLogger * log4g_logger_factory_make_new_logger_instance (Log4gLoggerFactory *self
,const gchar *name
);
Call the make_new_logger_instance
function from the
Log4gLoggerFactoryInterface of self
.
|
A logger factory object. |
|
The name of the logger to create. |
Returns : |
A new logger named \e name. |
Since 0.1
Log4gLogger (*Log4gLoggerFactoryMakeNewLoggerInstance) (Log4gLoggerFactory *self
,const gchar *name
);
Create a new logger object.
|
A logger factory object. |
|
The name of the logger to create. |
Returns : |
A new logger named \e name. |
Since 0.1