patrick
/
plasp
Archived
1
0
Fork 0
This repository has been archived on 2023-07-19. You can view files and clone it, but cannot push or open issues or pull requests.
plasp/include/plasp/utils/Logger.h

38 lines
676 B
C++

#ifndef __PLASP__UTILS__LOGGER_H
#define __PLASP__UTILS__LOGGER_H
#include <string>
#include <plasp/utils/Parser.h>
namespace plasp
{
namespace utils
{
////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Logger
//
////////////////////////////////////////////////////////////////////////////////////////////////////
class Logger
{
public:
Logger();
void setPedantic(bool isPedantic = true);
void parserWarning(const Parser &parser, const std::string &text);
private:
bool m_isPedantic;
};
////////////////////////////////////////////////////////////////////////////////////////////////////
}
}
#endif