#include <MyGUI_LogManager.h>
Public Types | |
enum | LogLevel { Info, Warning, Error, Critical, EndLogLevel } |
Static Public Member Functions | |
static void | shutdown () |
static void | initialise () |
static void | registerSection (const std::string &_section, const std::string &_file) |
static void | unregisterSection (const std::string &_section) |
static LogStream & | out (const std::string &_section, LogLevel _level) |
static const std::string & | info (const char *_file, int _line) |
static const LogStream::LogStreamEnd & | end () |
static void | setSTDOutputEnabled (bool _enable) |
static bool | getSTDOutputEnabled () |
Static Public Attributes | |
static const std::string | General = "General" |
static const std::string | separator = " | " |
static LogStream::LogStreamEnd | endl |
static const std::string | LevelsName [EndLogLevel] |
Definition at line 39 of file MyGUI_LogManager.h.
Definition at line 43 of file MyGUI_LogManager.h.
const LogStream::LogStreamEnd & MyGUI::LogManager::end | ( | ) | [static] |
Definition at line 167 of file MyGUI_LogManager.cpp.
bool MyGUI::LogManager::getSTDOutputEnabled | ( | ) | [static] |
Definition at line 178 of file MyGUI_LogManager.cpp.
const std::string & MyGUI::LogManager::info | ( | const char * | _file, | |
int | _line | |||
) | [static] |
Definition at line 157 of file MyGUI_LogManager.cpp.
void MyGUI::LogManager::initialise | ( | ) | [static] |
Definition at line 79 of file MyGUI_LogManager.cpp.
Definition at line 87 of file MyGUI_LogManager.cpp.
void MyGUI::LogManager::registerSection | ( | const std::string & | _section, | |
const std::string & | _file | |||
) | [static] |
Definition at line 107 of file MyGUI_LogManager.cpp.
void MyGUI::LogManager::setSTDOutputEnabled | ( | bool | _enable | ) | [static] |
Definition at line 172 of file MyGUI_LogManager.cpp.
void MyGUI::LogManager::shutdown | ( | ) | [static] |
Definition at line 70 of file MyGUI_LogManager.cpp.
void MyGUI::LogManager::unregisterSection | ( | const std::string & | _section | ) | [static] |
Definition at line 136 of file MyGUI_LogManager.cpp.
Definition at line 76 of file MyGUI_LogManager.h.
const std::string MyGUI::LogManager::General = "General" [static] |
Definition at line 73 of file MyGUI_LogManager.h.
const std::string MyGUI::LogManager::LevelsName [static] |
Initial value:
{ "Info", "Warning", "Error", "Critical" }
Definition at line 77 of file MyGUI_LogManager.h.
const std::string MyGUI::LogManager::separator = " | " [static] |
Definition at line 74 of file MyGUI_LogManager.h.