Continued ripping up the source.
[aesalon.git] / monitor / src / Message.cpp
blobbb29cbf10de2358e06a8832ad302db86bc07cd47
1 #include <iostream>
3 #include "Message.h"
5 namespace Aesalon {
6 namespace Monitor {
8 Message::Message(message_type_e type, std::string string) {
9 if(type == WARNING_MESSAGE) {
10 std::cout << "{aesalon} " << string << std::endl;
12 #ifdef AESALON_DEV_BUILD
13 else if(type == DEBUG_MESSAGE) {
14 std::cout << "{aesalon} " << string << std::endl;
16 #endif
19 } // namespace Monitor
20 } // namespace Aesalon