Moved the {DEBUG...} macro from interface-utils.cfg to debug-utils.cfg.
This commit is contained in:
parent
36c5b61073
commit
537e899cd4
2 changed files with 14 additions and 14 deletions
|
@ -11,6 +11,20 @@
|
|||
[/message]
|
||||
#enddef
|
||||
|
||||
#define DEBUG TEXT
|
||||
# Logs a WML debug message to consol and the in-game chat.
|
||||
# It does nothing unless the 'wml' log domain is set to debug
|
||||
# level at application startup (usually with --log-debug=wml),
|
||||
# or in-game with the :log command (e.g. :log debug wml).
|
||||
#
|
||||
# Example:
|
||||
# ! {DEBUG "inconsistency: $unit.id is not loyal!"}
|
||||
[wml_message]
|
||||
logger=debug
|
||||
message={TEXT}
|
||||
[/wml_message]
|
||||
#enddef
|
||||
|
||||
#define TIMED_ACTIONS TITLE CONTENT_WML
|
||||
# Measure (in milliseconds) the time arbitrary event WML takes to
|
||||
# execute.
|
||||
|
|
|
@ -392,20 +392,6 @@
|
|||
{FADE_STEP 0 5}
|
||||
#enddef
|
||||
|
||||
#define DEBUG TEXT
|
||||
# Logs a WML debug message to consol and the in-game chat.
|
||||
# It does nothing unless the 'wml' log domain is set to debug
|
||||
# level at application startup (usually with --log-debug=wml),
|
||||
# or in-game with the :log command (e.g. :log debug wml).
|
||||
#
|
||||
# Example:
|
||||
# ! {DEBUG "inconsistency: $unit.id is not loyal!"}
|
||||
[wml_message]
|
||||
logger=debug
|
||||
message={TEXT}
|
||||
[/wml_message]
|
||||
#enddef
|
||||
|
||||
#define LOG TEXT
|
||||
# Logs a WML message to console and the in-game chat. It does
|
||||
# nothing unless the 'wml' log domain is set to log level at
|
||||
|
|
Loading…
Add table
Reference in a new issue