top | up | prev | next

CoutLog Class

Definition at line 16 of Log.cpp

Constructors

CoutLog()

Member Functions

void Write(const std::string& op, JsonObject* message)

Member Variables

CodeFormatter formatter

Constructor Details

CoutLog Constructor

cmajor::build::CoutLog::CoutLog()

Definition at line 25 of Log.cpp :
25 : formatter(std::cout)
26 {
27     formatter.SetLogging();
28 }


Declaration at line 19 of Log.cpp


Member Function Details

Write Member Function

void cmajor::build::CoutLog::Write(const std::string& op, JsonObject* message)

Definition at line 30 of Log.cpp :
31 {
32     std::cout << op;
33     if (message)
34     {
35         message->Write(formatter);
36     }
37 }


Declaration at line 20 of Log.cpp


top | up | prev | next