AI Refactoring: added a new log category for ai_actions.
This commit is contained in:
parent
7f6432688d
commit
181950e10b
2 changed files with 2 additions and 2 deletions
|
@ -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"), ai_configuration("ai_configuration"), ai_manager("ai_manager"), formula_ai("formula_ai"), cache("cache"), config("config"), display("display"),
|
||||
log_domain general("general"), ai("ai"), ai_actions("ai_actions"), ai_configuration("ai_configuration"), ai_manager("ai_manager"), formula_ai("formula_ai"), cache("cache"), config("config"), display("display"),
|
||||
engine("engine"), network("network"), mp_server("server"),
|
||||
filesystem("filesystem"), audio("audio"),
|
||||
replay("replay"), help("help"), gui("gui"), gui_parse("gui_parse"),
|
||||
|
|
|
@ -66,7 +66,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, ai_configuration, ai_manager, formula_ai, cache, config,
|
||||
extern log_domain general, ai, ai_actions, ai_configuration, ai_manager, formula_ai, cache, config,
|
||||
display, engine, network, mp_server, filesystem, audio, replay, help, gui, gui_parse,
|
||||
gui_layout, gui_draw, gui_event, editor, wml, mp_user_handler, lua;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue