/** * @brief outputs an error message * **/ void ParserLogger::error(const string& str) { logToStream(Error, str); }
/** * @brief outputs an warn message * **/ void ParserLogger::warn(const string& str) { logToStream(Warning, str); }
void Logger::logToStderr(LogLevel level, const char* filename, int lineNumber, const std::string& message) { logToStream(std::cerr, level, filename, lineNumber, message); }