MicroModelicaCCompiler
4.5.3
|
#include <logger.hpp>
Public Member Functions | |
~Logger () | |
void | setFile (std::string file_name) |
std::string | getLoggerFile () const |
std::string | getLogsPath () const |
Static Public Member Functions | |
static Logger & | instance () |
Public Attributes | |
std::ofstream | log |
Protected Attributes | |
std::string | _log_file |
std::string | _logs_path |
Private Member Functions | |
Logger () | |
Definition at line 65 of file logger.hpp.
MicroModelica::Util::Logger::~Logger | ( | ) |
Definition at line 30 of file logger.cpp.
References log.
|
private |
Definition at line 28 of file logger.cpp.
std::string MicroModelica::Util::Logger::getLoggerFile | ( | ) | const |
Definition at line 41 of file logger.cpp.
References _log_file.
std::string MicroModelica::Util::Logger::getLogsPath | ( | ) | const |
Definition at line 43 of file logger.cpp.
References _logs_path.
|
inlinestatic |
Definition at line 67 of file logger.hpp.
void MicroModelica::Util::Logger::setFile | ( | std::string | file_name | ) |
Definition at line 32 of file logger.cpp.
References _log_file, _logs_path, MicroModelica::Util::Utils::baseFileName(), MicroModelica::Util::Utils::environmentVariable(), MicroModelica::Util::Utils::instance(), log, and SLASH.
|
protected |
Definition at line 82 of file logger.hpp.
Referenced by getLoggerFile(), and setFile().
|
protected |
Definition at line 83 of file logger.hpp.
Referenced by getLogsPath(), and setFile().
std::ofstream MicroModelica::Util::Logger::log |
Definition at line 79 of file logger.hpp.