FEI Package Browser (Single Doxygen Collection)
Version of the Day
|
#include <fei_Logger.hpp>
Public Member Functions | |
Logger () | |
virtual | ~Logger () |
void | setOutputLevel (OutputLevel olevel) |
void | addLogID (int ID) |
void | addLogEqn (int eqn) |
bool | isLogID (int ID) |
bool | isLogEqn (int eqn) |
std::set< int > & | getLogIDs () |
std::set< int > & | getLogEqns () |
Protected Attributes | |
OutputLevel | output_level_ |
FEI_OSTREAM * | output_stream_ |
std::set< int > | logIDs_ |
std::set< int > | logEqns_ |
Private Member Functions | |
Logger (const Logger &src) | |
Logger & | operator= (const Logger &src) |
Class to be inherited by fei classes that wish to write to the fei debug-log file.
Definition at line 19 of file fei_Logger.hpp.
fei::Logger::Logger | ( | ) |
constructor
Definition at line 13 of file fei_Logger.cpp.
References fei::LogFile::getLogFile(), fei::LogFile::getOutputStream(), and output_stream_.
|
virtual |
destructor
Definition at line 23 of file fei_Logger.cpp.
|
private |
void fei::Logger::setOutputLevel | ( | OutputLevel | olevel | ) |
set specified output-level.
Definition at line 27 of file fei_Logger.cpp.
References fei::LogFile::getLogFile(), and fei::LogFile::getOutputStream().
void fei::Logger::addLogID | ( | int | ID | ) |
Definition at line 34 of file fei_Logger.cpp.
void fei::Logger::addLogEqn | ( | int | eqn | ) |
Definition at line 39 of file fei_Logger.cpp.
bool fei::Logger::isLogID | ( | int | ID | ) |
Definition at line 44 of file fei_Logger.cpp.
bool fei::Logger::isLogEqn | ( | int | eqn | ) |
Definition at line 49 of file fei_Logger.cpp.
std::set< int > & fei::Logger::getLogIDs | ( | ) |
Definition at line 54 of file fei_Logger.cpp.
std::set< int > & fei::Logger::getLogEqns | ( | ) |
Definition at line 59 of file fei_Logger.cpp.
|
protected |
output level Note that the OutputLevel enum is defined in fei_fwd.hpp.
Definition at line 42 of file fei_Logger.hpp.
Referenced by fei::Reducer::addGraphEntries(), fei::Reducer::addMatrixValues(), fei::Reducer::addVectorValues(), fei::Reducer::assembleReducedGraph(), fei::Reducer::assembleReducedMatrix(), fei::Reducer::assembleReducedVector(), fei::Reducer::copyOutVectorValues(), fei::Reducer::initialize(), fei::Reducer::setLocalUnreducedEqns(), fei::Vector_core::Vector_core(), and fei::Vector_Impl< T >::Vector_Impl().
|
protected |
output stream
Definition at line 44 of file fei_Logger.hpp.
Referenced by fei::Reducer::addGraphEntries(), fei::Reducer::addMatrixValues(), fei::Reducer::addVectorValues(), fei::Reducer::assembleReducedGraph(), fei::Reducer::assembleReducedMatrix(), fei::Reducer::assembleReducedVector(), fei::Reducer::copyOutVectorValues(), fei::Reducer::initialize(), Logger(), fei::Reducer::setLocalUnreducedEqns(), fei::Vector_core::Vector_core(), and fei::Vector_Impl< T >::Vector_Impl().
|
protected |
Definition at line 46 of file fei_Logger.hpp.
|
protected |
Definition at line 47 of file fei_Logger.hpp.