Standard logging facilities (implementation). More...
#include "game_errors.hpp"
#include "global.hpp"
#include "log.hpp"
#include <boost/date_time.hpp>
#include <map>
#include <sstream>
#include <ctime>
Go to the source code of this file.
Namespaces | |
lg | |
Typedefs | |
typedef std::map< std::string, int > | lg::domain_map |
Variables | |
static int | indent = 0 |
static bool | timestamp = true |
static bool | precise_timestamp = false |
static std::ostream * | output_stream = nullptr |
static domain_map * | lg::domains |
static int | lg::strict_level_ = -1 |
static bool | lg::strict_threw_ = false |
Standard logging facilities (implementation).
See also the command line switches –logdomains and –log-<level>="domain".
Definition in file log.cpp.
Referenced by lg::print_precise_timestamp().
|
static |
Referenced by lg::logger::operator()().
|
static |
Definition at line 52 of file log.cpp.
References output_stream.
Referenced by lg::logger::operator()().
|
static |
Definition at line 45 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(), lg::logger::operator()(), and gui2::tformula_debugger::pre_show().
|
static |
Definition at line 50 of file log.cpp.
Referenced by output(), lg::tredirect_output_setter::tredirect_output_setter(), and lg::tredirect_output_setter::~tredirect_output_setter().
|
static |
Definition at line 47 of file log.cpp.
Referenced by lg::logger::operator()(), and lg::precise_timestamps().
|
static |
Definition at line 46 of file log.cpp.
Referenced by lg::scope_logger::do_log_exit(), lg::logger::operator()(), gui2::tchat_log::model::stream_log(), and lg::timestamps().