#include "FileLogSink.hpp"
Public Member Functions | |
FileLogSink (const openstudio::path &path) | |
std::vector< LogMessage > | logMessages () const |
openstudio::path | path () const |
openstudio::FileLogSink::FileLogSink | ( | const openstudio::path & | path | ) |
constructor takes path of file, opens in write mode positioned at file beginning and registers in the global logger
std::vector<LogMessage> openstudio::FileLogSink::logMessages | ( | ) | const |
get messages out of the file content
openstudio::path openstudio::FileLogSink::path | ( | ) | const |
returns the path that log messages are written to