diff options
Diffstat (limited to 'src/log.h')
-rw-r--r-- | src/log.h | 15 |
1 files changed, 1 insertions, 14 deletions
@@ -77,27 +77,14 @@ public: private: Log() {}; ~Log() {}; + Log(const Log& l); void operator=(const Log& l); - static Log* inst; - static Mutex instMutex; - class instanceCleaner - { - public: - ~instanceCleaner() { - if(Log::inst != 0) { - delete Log::inst; - } - } - }; - friend class instanceCleaner; - void log(std::string msg, int prio); Mutex mutex; friend class LogStringBuilder; - LogTargetList targets; }; |