#include "pgapplication.h"#include "pgwindow.h"#include "pgmultilineedit.h"#include "pglog.h"#include <iostream>#include <string>#include <list>#include <cstring>#include <cstdarg>#include <ctime>Include dependency graph for pglog.cpp:

Go to the source code of this file.
Functions | |
| std::ostream & | operator<< (std::ostream &os, PG_LogMessage_t *msg) |
| void | PG_Log (PG_LOG_LEVEL id, const char *Text,...) |
| Log a message. | |
| void | PG_LogMSG (const char *fmt,...) |
| Log a message with log level "message". | |
| void | PG_LogERR (const char *fmt,...) |
| Log a message with log level "error". | |
| void | PG_LogWRN (const char *fmt,...) |
| Log a message with log level "warning". | |
| void | PG_LogDBG (const char *fmt,...) |
| Log a message with log level "debug". | |
Variables | |
| Uint32 | PG_LogMaxMessages = 200 |
| int | PG_LogMethod = PG_LOGMTH_STDOUT |
| static PG_LOG_LEVEL | PG_LogLevel = PG_LOG_DBG |
| static SDLKey | PG_LogConsoleKey = SDLK_F12 |
| static std::list< PG_LogMessage_t * > | PG_LogMessages |
| static PG_Window * | PG_LogWindow = NULL |
| static PG_MultiLineEdit * | PG_LogWindowData = NULL |
| static std::string | my_title = "ParaGUI Log Console" |
|
||||||||||||
|
Definition at line 60 of file pglog.cpp. References PG_LogMessage_t::Text. |
|
||||||||||||||||
|
Log a message.
|
|
||||||||||||
|
Log a message with log level "debug".
Definition at line 300 of file pglog.cpp. References PG_LOG_DBG. Referenced by PG_SurfaceCache::AddSurface(), PG_Widget::eventBlit(), PG_Application::InitScreen(), PG_Application::LoadTheme(), PG_Widget::Update(), and XMLStartDoc(). |
|
||||||||||||
|
Log a message with log level "error".
Definition at line 286 of file pglog.cpp. References PG_LOG_ERR. Referenced by PG_Application::InitScreen(), PG_Theme::Load(), PG_FileArchive::LoadSurface(), PG_Font::PG_Font(), PG_main(), PG_Font::SetName(), PG_Font::SetSize(), and XMLStartDoc(). |
|
||||||||||||
|
Log a message with log level "message".
Definition at line 279 of file pglog.cpp. References PG_LOG_MSG. Referenced by PG_Theme::Load(), PG_Application::LoadTheme(), and PG_Info::PrintInfo(). |
|
||||||||||||
|
Log a message with log level "warning".
Definition at line 293 of file pglog.cpp. References PG_LOG_WRN. Referenced by PG_RectList::Add(), PG_FontEngine::BlitFTBitmap(), PG_FontEngine::FontEngineError(), PG_Theme::Load(), PG_FileArchive::LoadSurface(), PG_Application::LoadTheme(), PG_Application::PG_Application(), PG_Draw::CreateRGBSurface(), PG_Layout::Load(), PG_Widget::PG_Widget(), PG_FileArchive::RemoveAllArchives(), PG_Application::SetBackground(), PG_Application::SetIcon(), XMLStartDoc(), and PG_Widget::~PG_Widget(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.2