1
2
3
4
5
6 #ifndef CMAJOR_BUILD_LOG_INCLUDED
7 #define CMAJOR_BUILD_LOG_INCLUDED
8 #include <cmajor/build/BuildApi.hpp>
9 #include <soulng/util/Json.hpp>
10 #include <soulng/util/Unicode.hpp>
11
12 namespace cmajor { namespace build {
13
14 using namespace soulng::util;
15 using namespace soulng::unicode;
16
17 class Log
18 {
19 public:
20 virtual ~Log();
21 virtual void Write(const std::string& op, JsonObject* message) = 0;
22 };
23
24 std::unique_ptr<Log> CreateCoutLog();
25
26 } }
27
28 #endif // CMAJOR_BUILD_LOG_INCLUDED