23 #ifndef __MYGUI_LOG_MANAGER_H__
24 #define __MYGUI_LOG_MANAGER_H__
33 #define MYGUI_LOGGING(section, level, text) \
34 MyGUI::LogManager::out(section, MyGUI::LogManager::level) \
36 << MyGUI::LogManager::info(__FILE__, __LINE__) \
37 << MyGUI::LogManager::end()
53 static void shutdown();
54 static void initialise();
56 static void registerSection(
const std::string& _section,
const std::string& _file);
57 static void unregisterSection(
const std::string& _section);
59 static LogStream& out(
const std::string& _section, LogLevel _level);
60 static const std::string& info(
const char * _file ,
int _line );
65 static void setSTDOutputEnabled(
bool _enable);
66 static bool getSTDOutputEnabled();
77 static const std::string LevelsName[EndLogLevel];
81 typedef std::map<std::string, LogStream*> MapLogStream;
82 MapLogStream mMapSectionFileName;
88 #endif // __MYGUI_LOG_MANAGER_H__