(svn r17488) -Feature [FS#2339]: add the date to all logging in the (real, not in-game) console if show_date_in_console is set. For dedicated server binaries the default is 'on', for the rest it is 'off'.
This commit is contained in:
@@ -574,6 +574,13 @@ const SettingDesc _settings[] = {
|
||||
SDTC_BOOL(gui.persistent_buildingtools, S, 0, false, STR_CONFIG_SETTING_PERSISTENT_BUILDINGTOOLS, NULL),
|
||||
SDTC_BOOL(gui.expenses_layout, S, 0, false, STR_CONFIG_SETTING_EXPENSES_LAYOUT, RedrawScreen),
|
||||
|
||||
/* For the dedicated build we'll enable dates in logs by default. */
|
||||
#ifdef DEDICATED
|
||||
SDTC_BOOL(gui.show_date_in_logs, S, 0, true, STR_NULL, NULL),
|
||||
#else
|
||||
SDTC_BOOL(gui.show_date_in_logs, S, 0, false, STR_NULL, NULL),
|
||||
#endif
|
||||
|
||||
SDTC_VAR(gui.console_backlog_timeout, SLE_UINT16, S, 0, 100, 10, 65500, 0, STR_NULL, NULL),
|
||||
SDTC_VAR(gui.console_backlog_length, SLE_UINT16, S, 0, 100, 10, 65500, 0, STR_NULL, NULL),
|
||||
#ifdef ENABLE_NETWORK
|
||||
|
Reference in New Issue
Block a user