Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/logger.hpp

    raee1a3 r06c7a3  
    1111#include <iostream>
    1212
    13 #include "Patterns/Singleton.hpp"
    14 
    1513using namespace std;
    1614
    1715class Verbose;
    1816
    19 class logger : public Singleton<logger> {
    20   friend class Singleton<logger>;
     17class logger {
    2118public :
    2219  static ostream *nix;
    2320  static int verbosity;
    2421
     22  static logger* getInstance();
     23  static void purgeInstance();
    2524  static bool DoOutput();
    2625  static void setVerbosity(int verbosityLevel);
     
    3130  /** Do not call this destructor directly, use purgeInstance() instead. */
    3231  ~logger();
     32
     33private:
     34  static logger* instance;
    3335};
    3436
Note: See TracChangeset for help on using the changeset viewer.