EEROS  1.0.0.0
API for the EEROS Real-Time Robotics Framework
Writer.hpp
Go to the documentation of this file.
1 #ifndef ORG_EEROS_LOGGER_WRITER_HPP_
2 #define ORG_EEROS_LOGGER_WRITER_HPP_
3 
4 #include <sstream>
5 
6 namespace eeros {
7  namespace logger {
8  enum class LogLevel;
9 
10  class Writer {
11  public:
12  virtual ~Writer() { }
13  virtual void begin(std::ostringstream& os, LogLevel level, unsigned category) = 0;
14  virtual void end(std::ostringstream& os) = 0;
15  };
16  }
17 }
18 
19 #endif /* ORG_EEROS_LOGGER_WRITER_HPP_ */
Definition: Config.hpp:14
virtual void end(std::ostringstream &os)=0
Definition: Writer.hpp:10
virtual ~Writer()
Definition: Writer.hpp:12
virtual void begin(std::ostringstream &os, LogLevel level, unsigned category)=0
LogLevel
Definition: Logger.hpp:13