AOSharedServiceLibrary
|
The Logging Service Component Factory. More...
#include <factory_logging.h>
Public Member Functions | |
LoggingComponentFactory () | |
Create a new Service Component Factory. | |
~LoggingComponentFactory () | |
Delete a Service Component Factory. | |
LoggingInterface * | get_logging_interface (std::string initFileName) |
Get a Logging Interface instance. More... | |
LoggingInterface * | get_logging_interface (std::string logFile, int logLevel) |
Get a Logging Interface instance. More... | |
The Logging Service Component Factory.
The Service Component Factory tracks the Logging objects exposed by the framework and passes back instances of interfaces. This allows for the publicly exposed methods to be independent of the implementations.
|
inline |
Get a Logging Interface instance.
initFileName | The file name of the log4cpp configuration file to read |
|
inline |
Get a Logging Interface instance.
logFile | The file to write logs to |
logLevel | The level at which to write logs (options are AOSSL_LOG_INFO, AOSSL_LOG_ERROR, AOSSL_LOG_DEBUG) |