org::xmlBlaster::util::DefaultLogFactory Class Reference

Default implementation of our log factory. More...

Inheritance diagram for org::xmlBlaster::util::DefaultLogFactory:

Inheritance graph
[legend]
Collaboration diagram for org::xmlBlaster::util::DefaultLogFactory:

Collaboration graph
[legend]
List of all members.

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_LoggetLog (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.

Detailed Description

Default implementation of our log factory.

It returns the xmlBlaster native console logger with colored output on UNIX

Definition at line 84 of file LogManager.h.


Member Typedef Documentation

typedef std::map<std::string, org::xmlBlaster::util::I_Log *> org::xmlBlaster::util::DefaultLogFactory::LogMap

Definition at line 86 of file LogManager.h.


Constructor & Destructor Documentation

org::xmlBlaster::util::DefaultLogFactory::~DefaultLogFactory (  )  [virtual]

Enforced by I_LogFactory, we are the default implementation.

Definition at line 64 of file LogManager.cpp.


Member Function Documentation

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.

Parameters:
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.

Parameters:
name 

Implements org::xmlBlaster::util::I_LogFactory.


The documentation for this class was generated from the following files: