![]() |
Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
#include "precompiled.h"#include "CLogger.h"#include "graphics/Canvas2D.h"#include "graphics/Color.h"#include "graphics/FontMetrics.h"#include "graphics/TextRenderer.h"#include "lib/debug.h"#include "lib/os_path.h"#include "lib/path.h"#include "lib/secure_crt.h"#include "lib/timer.h"#include "maths/Vector2D.h"#include "ps/CConsole.h"#include "ps/CStr.h"#include "ps/CStrIntern.h"#include "ps/Profile.h"#include "ps/Pyrogenesis.h"#include <boost/algorithm/string/replace.hpp>#include <cstring>#include <ctime>#include <fstream>#include <iostream>#include <utility>
Classes | |
| struct | BlackHoleStreamBuf |
Namespaces | |
| namespace | anonymous_namespace{CLogger.cpp} |
Functions | |
| static std::string | ToHTML (const char *message) |
| std::ofstream | anonymous_namespace{CLogger.cpp}::OpenLogFile (const wchar_t *filePrefix, const char *logName) |
Variables | |
| CStrW | g_UniqueLogPostfix |
| static const double | RENDER_TIMEOUT = 10.0 |
| static const double | RENDER_TIMEOUT_RATE = 10.0 |
| static const size_t | RENDER_LIMIT = 20 |
| BlackHoleStreamBuf | blackHoleStreamBuf |
| CLogger | nullLogger {blackHoleStream, blackHoleStream, true} |
| CLogger * | g_Logger = &nullLogger |
| const char * | html_header0 |
| const char * | html_header1 = "</h2>\n" |
|
static |
| std::ostream blackHoleStream & blackHoleStreamBuf |
| CLogger* g_Logger = &nullLogger |
| CStrW g_UniqueLogPostfix |
| const char* html_header0 |
| const char* html_header1 = "</h2>\n" |
| CLogger nullLogger {blackHoleStream, blackHoleStream, true} |
|
static |
|
static |
|
static |