summaryrefslogtreecommitdiff
path: root/src/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/log.h')
-rw-r--r--src/log.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/log.h b/src/log.h
index e45ee8e..5ab82fe 100644
--- a/src/log.h
+++ b/src/log.h
@@ -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;
};