Log.h

00001 #ifndef ERIS_LOG_H
00002 #define ERIS_LOG_H
00003 
00004 #include <sigc++/signal.h>
00005 
00006 #include <string>
00007 
00008 namespace Eris
00009 {
00010     
00013 typedef enum {
00014         LOG_ERROR = 0,  
00015         LOG_WARNING,    
00016         LOG_NOTICE,             
00017         LOG_VERBOSE,    
00018         LOG_DEBUG               
00019 } LogLevel;
00020 
00022 const LogLevel DEFAULT_LOG = LOG_WARNING;    
00023     
00027 extern SigC::Signal2<void, LogLevel, const std::string&> Logged;
00028     
00031 void setLogLevel(LogLevel lvl);
00032 
00033 LogLevel getLogLevel();
00034 
00035 }
00036 
00037 #include <Eris/LogStream.h>
00038 
00039 #endif

Generated on Mon Jan 29 21:53:03 2007 for Eris by  doxygen 1.5.1