9 #include <fei_utils.hpp>
10 #include <fei_LogManager.hpp>
11 #include <fei_Logger.hpp>
12 #include <fei_LogFile.hpp>
14 fei::LogManager::LogManager()
15 : output_level_(NONE),
32 return(output_level_);
37 if (output_level_ == olevel) {
41 bool no_existing_output_stream = output_level_ < fei::BRIEF_LOGS;
43 output_level_ = olevel;
45 bool need_output_stream = output_level_ >= fei::BRIEF_LOGS;
47 if (need_output_stream && no_existing_output_stream) {
49 numProcs_, localProc_);
71 localProc_ = localproc;
void openOutputStream(const char *path=NULL, int nprocs=1, int localproc=0)
const std::string & getOutputPath()
fei::OutputLevel string_to_output_level(const std::string &str)
void setNumProcs(int nprocs, int localproc)
OutputLevel getOutputLevel()
void setOutputLevel(OutputLevel olevel)
static LogManager & getLogManager()
static LogFile & getLogFile()
void setOutputPath(const std::string &opath)