#include "precompiled.h"
#include "CLogger.h"
#include "CConsole.h"
#include "graphics/ShaderManager.h"
#include "graphics/TextRenderer.h"
#include "lib/ogl.h"
#include "lib/timer.h"
#include "lib/utf8.h"
#include "lib/sysdep/sysdep.h"
#include "ps/Font.h"
#include "ps/Profile.h"
#include "renderer/Renderer.h"
#include <ctime>
#include <iostream>
#include <boost/algorithm/string/replace.hpp>
Go to the source code of this file.
static std::string ToHTML |
( |
const wchar_t * |
message | ) |
|
|
static |
CLogger nullLogger& blackHoleStream |
const size_t BUFFER_SIZE = 1024 |
|
static |
Initial value:=
"<!DOCTYPE html>\n"
"<meta charset=\"utf-8\">\n"
"<title>Pyrogenesis Log</title>\n"
"<style>"
"body { background: #eee; color: black; font-family: sans-serif; } "
"p { background: white; margin: 3px 0 3px 0; } "
".error { color: red; } "
".warning { color: blue; }"
"</style>\n"
"<h2>0 A.D. "
Definition at line 61 of file CLogger.cpp.
const char* html_header1 = "</h2>\n" |
const size_t RENDER_LIMIT = 20 |
|
static |
const double RENDER_TIMEOUT = 10.0 |
|
static |
const double RENDER_TIMEOUT_RATE = 10.0 |
|
static |