Log4g Reference Manual | ||||
---|---|---|---|---|
Top | Description |
Log4gRepositorySelector; struct Log4gRepositorySelectorInterface; Log4gLoggerRepository * log4g_repository_selector_get_logger_repository (Log4gRepositorySelector *self
); Log4gLoggerRepository (*Log4gRepositorySelectorGetLoggerRepository) (Log4gRepositorySelector *self
);
The log manager uses a repository selector implementation to select the logger repository for a particular application context.
It is the responsibility of the repository selector implementation to track the application context. Log4g makes no assumptions about the application context.
struct Log4gRepositorySelectorInterface { Log4gRepositorySelectorGetLoggerRepository get_logger_repository; };
Log4gRepositorySelectorGetLoggerRepository |
Select the current logger repository. |
Log4gLoggerRepository * log4g_repository_selector_get_logger_repository
(Log4gRepositorySelector *self
);
Call the get_logger_repository
function from the
Log4gRepositorySelectorInterface of self
.
See
: Log4gLoggerRepositoryInterface
|
A repository selector object. |
Returns : |
The logger repository for the current application context. |
Since 0.1
Log4gLoggerRepository (*Log4gRepositorySelectorGetLoggerRepository)
(Log4gRepositorySelector *self
);
Select the logger repository for the current application context.
Implementors must assure that a valid (non-NULL
) logger repository
is returned.
See
: Log4gLoggerRepositoryInterface
|
A repository selector object. |
Returns : |
The logger repository for the current application context. |
Since 0.1