MyGUI::LogManager Class Reference

#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 LogStreamout (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]

Detailed Description

Definition at line 38 of file MyGUI_LogManager.h.


Member Enumeration Documentation

Enumerator:
Info 
Warning 
Error 
Critical 
EndLogLevel 

Definition at line 42 of file MyGUI_LogManager.h.


Member Function Documentation

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.

LogStream & MyGUI::LogManager::out ( const std::string &  _section,
LogLevel  _level 
) [static]

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.


Field Documentation

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]
Initial value:
    {
        "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.


The documentation for this class was generated from the following files:

Generated on 3 Dec 2009 for MyGUI by  doxygen 1.6.1