FEI Version of the Day
Public Member Functions | Static Public Member Functions
fei::LogManager Class Reference

#include <fei_LogManager.hpp>

List of all members.

Public Member Functions

virtual ~LogManager ()
OutputLevel getOutputLevel ()
void setOutputLevel (OutputLevel olevel)
void setOutputLevel (const char *olevel)
void setOutputPath (const std::string &opath)
const std::string & getOutputPath ()
void setNumProcs (int nprocs, int localproc)

Static Public Member Functions

static LogManagergetLogManager ()

Detailed Description

Singleton class to manage attributes controlling the type and amount of data that should be written to the fei log file.

Definition at line 57 of file fei_LogManager.hpp.


Constructor & Destructor Documentation

fei::LogManager::~LogManager ( ) [virtual]

destructor

Definition at line 55 of file fei_LogManager.cpp.


Member Function Documentation

fei::LogManager & fei::LogManager::getLogManager ( ) [static]

Accessor for the one-and-only instance of LogManager. Constructs a LogManager instance on the first call, returns that same instance on the first and all subsequent calls.

Definition at line 59 of file fei_LogManager.cpp.

fei::OutputLevel fei::LogManager::getOutputLevel ( )

Query output-level. Result is an enumeration. The enumeration is defined in fei_fwd.hpp.

Definition at line 65 of file fei_LogManager.cpp.

void fei::LogManager::setOutputLevel ( fei::OutputLevel  olevel)

Set output-level, using an enumeration. The enumeration is defined in fei_fwd.hpp.

Definition at line 70 of file fei_LogManager.cpp.

void fei::LogManager::setOutputLevel ( const char *  olevel)

Set output-level, using a string. Valid values are strings that match the names of the enumeration values. e.g., "MATRIX_FILES", etc.

Definition at line 88 of file fei_LogManager.cpp.

void fei::LogManager::setOutputPath ( const std::string &  opath)

Specify path where debug-log files should be written.

Definition at line 93 of file fei_LogManager.cpp.

const std::string & fei::LogManager::getOutputPath ( )

Query for string specifying path to where debug-log files should be written.

Definition at line 98 of file fei_LogManager.cpp.

void fei::LogManager::setNumProcs ( int  nprocs,
int  localproc 
)

Set numProcs and localProc (which will be used in the log-file-name).

Definition at line 103 of file fei_LogManager.cpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends