Inheritance diagram for org::xmlBlaster::util::DefaultLogFactory:
Public Types | |
typedef std::map< std::string, org::xmlBlaster::util::I_Log * > | LogMap |
Public Member Functions | |
virtual | ~DefaultLogFactory () |
Enforced by I_LogFactory, we are the default implementation. | |
I_Log & | getLog (const std::string &name="") |
Construct (if necessary) and return a Log instance, using the factory's current implementation. | |
void | releaseLog (const std::string &name="") |
Free resources for the given logger. |
It returns the xmlBlaster native console logger with colored output on UNIX
Definition at line 84 of file LogManager.h.
typedef std::map<std::string, org::xmlBlaster::util::I_Log *> org::xmlBlaster::util::DefaultLogFactory::LogMap |
Definition at line 86 of file LogManager.h.
org::xmlBlaster::util::DefaultLogFactory::~DefaultLogFactory | ( | ) | [virtual] |
Enforced by I_LogFactory, we are the default implementation.
Definition at line 64 of file LogManager.cpp.
I_Log& org::xmlBlaster::util::DefaultLogFactory::getLog | ( | const std::string & | name = "" |
) | [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) |
Implements org::xmlBlaster::util::I_LogFactory.
void org::xmlBlaster::util::DefaultLogFactory::releaseLog | ( | const std::string & | name = "" |
) | [virtual] |
Free resources for the given logger.
name |
Implements org::xmlBlaster::util::I_LogFactory.