Public Types | |
typedef std::map< std::string, std::string, std::less< std::string > > | PropMap |
Public Member Functions | |
virtual | ~I_LogFactory () |
virtual void | initialize (const PropMap &propMap) |
Will be called on registration of your factory. | |
virtual I_Log & | getLog (const std::string &name="")=0 |
Construct (if necessary) and return a Log instance, using the factory's current implementation. | |
virtual void | releaseLog (const std::string &name="")=0 |
Free resources for the given logger. | |
Protected Attributes | |
PropMap | propMap_ |
Definition at line 24 of file I_LogFactory.h.
typedef std::map<std::string, std::string, std::less<std::string> > org::xmlBlaster::util::I_LogFactory::PropMap |
Definition at line 27 of file I_LogFactory.h.
virtual org::xmlBlaster::util::I_LogFactory::~I_LogFactory | ( | ) | [virtual] |
Definition at line 35 of file I_LogFactory.h.
virtual void org::xmlBlaster::util::I_LogFactory::initialize | ( | const PropMap & | propMap | ) | [virtual] |
Will be called on registration of your factory.
properties | A map containing key/values of properties (command line args etc), we keep a clone of it. |
Definition at line 42 of file I_LogFactory.h.
virtual I_Log& org::xmlBlaster::util::I_LogFactory::getLog | ( | const std::string & | name = "" |
) | [pure virtual] |
Construct (if necessary) and return a Log instance, using the factory's current implementation.
name | Logical name of the Log instance to be returned (the meaning of this name is only known to the underlying logging implementation that is being wrapped) |
Implemented in org::xmlBlaster::util::DefaultLogFactory.
virtual void org::xmlBlaster::util::I_LogFactory::releaseLog | ( | const std::string & | name = "" |
) | [pure virtual] |
Free resources for the given logger.
name |
Implemented in org::xmlBlaster::util::DefaultLogFactory.
PropMap org::xmlBlaster::util::I_LogFactory::propMap_ [protected] |
Definition at line 30 of file I_LogFactory.h.