mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-04 19:40:04 +00:00
Added cache log domain
This commit is contained in:
parent
d081492dab
commit
0d75346ca0
@ -49,7 +49,7 @@ std::vector< lg::logd > log_domains;
|
||||
void timestamps(bool t) { timestamp = t; }
|
||||
|
||||
logger err("error", 0), warn("warning", 1), info("info", 2), debug("debug", 3);
|
||||
log_domain general("general"), ai("ai"), config("config"), display("display"),
|
||||
log_domain general("general"), ai("ai"),cache("cache"), config("config"), display("display"),
|
||||
engine("engine"), network("network"), mp_server("server"),
|
||||
filesystem("filesystem"), audio("audio"), notifs("notifs"),
|
||||
replay("replay"), help("help"), gui("gui"), gui_parse("gui_parse"),
|
||||
|
@ -65,7 +65,7 @@ void timestamps(bool);
|
||||
std::string get_timestamp(const time_t& t, const std::string& format="%Y%m%d %H:%M:%S ");
|
||||
|
||||
extern logger err, warn, info, debug;
|
||||
extern log_domain general, ai, config, display, engine, network, mp_server,
|
||||
extern log_domain general, ai,cache, config, display, engine, network, mp_server,
|
||||
filesystem, audio, notifs, replay, help, gui, gui_parse, gui_draw,
|
||||
gui_event, editor, wml;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user