#include "global.hpp"
#include "SDL.h"
#include "log.hpp"
#include <algorithm>
#include <ctime>
#include <sstream>
#include <streambuf>
Go to the source code of this file.
Namespaces | |
namespace | lg |
Functions | |
static std::ostream | null_ostream (new null_streambuf) |
void | lg::timestamps (bool t) |
bool | lg::set_log_domain_severity (std::string const &name, int severity) |
std::string | lg::list_logdomains () |
std::string | lg::get_timestamp (const time_t &t, const std::string &format) |
Variables | |
static int | indent = 0 |
static bool | timestamp = true |
std::vector< lg::logd > | lg::log_domains |
logger | lg::err ("error", 0) |
logger | lg::warn ("warning", 1) |
logger | lg::info ("info", 2) |
logger | lg::debug ("debug", 3) |
log_domain | lg::general ("general") |
log_domain | lg::ai ("ai") |
log_domain | lg::config ("config") |
log_domain | lg::display ("display") |
log_domain | lg::engine ("engine") |
log_domain | lg::network ("network") |
log_domain | lg::mp_server ("server") |
log_domain | lg::filesystem ("filesystem") |
log_domain | lg::audio ("audio") |
log_domain | lg::notifs ("notifs") |
log_domain | lg::replay ("replay") |
log_domain | lg::help ("help") |
log_domain | lg::gui ("gui") |
log_domain | lg::gui_parse ("gui_parse") |
log_domain | lg::gui_draw ("gui_draw") |
log_domain | lg::gui_event ("gui_event") |
std::stringstream | lg::wml_error |
Use this logger to send errors due to deprecated WML. |
See also wesnoth-commandline-params --logdomains and --log-<level>="domain".
Definition in file log.cpp.
static std::ostream null_ostream | ( | new | null_streambuf | ) | [static] |
Referenced by lg::logger::operator()().
int indent = 0 [static] |
Definition at line 43 of file log.cpp.
Referenced by lg::scope_logger::do_indent(), lg::scope_logger::do_log_entry(), lg::scope_logger::do_log_exit(), game_logic::formula_function_expression::execute(), and lg::logger::operator()().
bool timestamp = true [static] |
Definition at line 44 of file log.cpp.
Referenced by lg::scope_logger::do_log_exit(), lg::logger::operator()(), and lg::timestamps().
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |