Changes in src/logger.hpp [aee1a3:06c7a3]
- File:
-
- 1 edited
-
src/logger.hpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/logger.hpp
raee1a3 r06c7a3 11 11 #include <iostream> 12 12 13 #include "Patterns/Singleton.hpp"14 15 13 using namespace std; 16 14 17 15 class Verbose; 18 16 19 class logger : public Singleton<logger> { 20 friend class Singleton<logger>; 17 class logger { 21 18 public : 22 19 static ostream *nix; 23 20 static int verbosity; 24 21 22 static logger* getInstance(); 23 static void purgeInstance(); 25 24 static bool DoOutput(); 26 25 static void setVerbosity(int verbosityLevel); … … 31 30 /** Do not call this destructor directly, use purgeInstance() instead. */ 32 31 ~logger(); 32 33 private: 34 static logger* instance; 33 35 }; 34 36
Note:
See TracChangeset
for help on using the changeset viewer.
