YAPOG  0.0.1
Yet Another Pokemon Online Game
DebugLogger.cpp
Go to the documentation of this file.
4 
5 namespace yap
6 {
8  : Logger (std::cout)
9  {
10 #ifdef NDEBUG
11  Activate (false);
12 #else
13  Activate (true);
14 #endif // NDEBUG
15  }
16 
18  {
19  }
20 
22  {
23  static DebugLogger instance;
24 
25  return instance;
26  }
27 
29  {
30  visitor.Visit (*this);
31  }
32 
34  {
35  visitor.Visit (*this);
36  }
37 } // namespace yap