Nevelex Corporation Nevelex Utilities 1.1.4 09/06/2003
Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

nevelex_util::LoggerFactory Class Reference

#include <LoggerFactory.h>

List of all members.

Static Public Methods

LoggernewInstance (char *logID)
void deleteInstance (Logger *instance)


Detailed Description

Factory class used to generate a logger instance.
Author:
Michel Dalal


Member Function Documentation

void nevelex_util::LoggerFactory::deleteInstance ( Logger * instance ) [static]
 

Deletes the supplied logger instance created by the call to newInstance().

Returns:
a new logger logger appropriate to the current platform.
See also:
newInstance

Logger * nevelex_util::LoggerFactory::newInstance ( char * logID ) [static]
 

Creates an instance of the appropriate logger class.

Parameters:
logID   a string identifier for the log messages.
Returns:
a new logger appropriate to the current platform.
Exceptions:
std::runtime_error   if unable to create a new logger.
See also:
deleteInstance


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