#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 38 of file MyGUI_LogManager.h.
Definition at line 42 of file MyGUI_LogManager.h.
const LogStream::LogStreamEnd & MyGUI::LogManager::end | ( | ) | [static] |
Definition at line 148 of file MyGUI_LogManager.cpp.
bool MyGUI::LogManager::getSTDOutputEnabled | ( | ) | [static] |
Definition at line 159 of file MyGUI_LogManager.cpp.
const std::string & MyGUI::LogManager::info | ( | const char * | _file, | |
int | _line | |||
) | [static] |
Definition at line 138 of file MyGUI_LogManager.cpp.
void MyGUI::LogManager::initialise | ( | ) | [static] |
Definition at line 72 of file MyGUI_LogManager.cpp.
Definition at line 77 of file MyGUI_LogManager.cpp.
void MyGUI::LogManager::registerSection | ( | const std::string & | _section, | |
const std::string & | _file | |||
) | [static] |
Definition at line 94 of file MyGUI_LogManager.cpp.
void MyGUI::LogManager::setSTDOutputEnabled | ( | bool | _enable | ) | [static] |
Definition at line 153 of file MyGUI_LogManager.cpp.
void MyGUI::LogManager::shutdown | ( | ) | [static] |
Definition at line 67 of file MyGUI_LogManager.cpp.
void MyGUI::LogManager::unregisterSection | ( | const std::string & | _section | ) | [static] |
Definition at line 119 of file MyGUI_LogManager.cpp.
Definition at line 75 of file MyGUI_LogManager.h.
const std::string MyGUI::LogManager::General = "General" [static] |
Definition at line 72 of file MyGUI_LogManager.h.
const std::string MyGUI::LogManager::LevelsName [static] |
{ "Info", "Warning", "Error", "Critical" }
Definition at line 76 of file MyGUI_LogManager.h.
const std::string MyGUI::LogManager::separator = " | " [static] |
Definition at line 73 of file MyGUI_LogManager.h.