1 // Copyright 2009 The Archiveopteryx Developers <info@aox.org> 2 3 #ifndef LOGGER_H 4 #define LOGGER_H 5 6 class EString; 7 8 #include "global.h" 9 #include "log.h" 10 11 12 class Logger 13 : public Garbage 14 { 15 public: 16 Logger(); 17 virtual ~Logger(); 18 19 virtual void send( const EString &, Log::Severity, const EString & ) = 0; 20 21 virtual EString name() const; 22 23 static Logger *global(); 24 }; 25 26 27 #endif 28