Pyrogenesis trunk
|
#include "precompiled.h"
#include "CLogger.h"
#include "graphics/Canvas2D.h"
#include "graphics/FontMetrics.h"
#include "graphics/TextRenderer.h"
#include "lib/os_path.h"
#include "lib/timer.h"
#include "lib/utf8.h"
#include "ps/CConsole.h"
#include "ps/CStr.h"
#include "ps/CStrInternStatic.h"
#include "ps/Profile.h"
#include "ps/Pyrogenesis.h"
#include <ctime>
#include <fstream>
#include <iostream>
#include <utility>
#include <boost/algorithm/string/replace.hpp>
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 |