From 540e07e3ef07de760100c2948dc3a756e48b1c72 Mon Sep 17 00:00:00 2001 From: you Date: Sun, 4 Mar 2018 17:34:36 +0100 Subject: Fix missing warningstream (or similar problem) (#7034) Use the --color command line parameter instead of a setting for coloured logs This fixes the missing warningstream bug, g_settings->get mustn't be used there. Also, the decision about en- or disabling log colours fits better to the command line parameters than minetest settings. --- builtin/settingtypes.txt | 7 ------- 1 file changed, 7 deletions(-) (limited to 'builtin/settingtypes.txt') diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt index 821762521..08e51171f 100644 --- a/builtin/settingtypes.txt +++ b/builtin/settingtypes.txt @@ -1212,13 +1212,6 @@ language (Language) enum ,be,ca,cs,da,de,dv,en,eo,es,et,fr,he,hu,id,it,ja,jbo, # - verbose debug_log_level (Debug log level) enum action ,none,error,warning,action,info,verbose -# ANSI colored logs: red error log, yellow warning and grey info and verbose logs -# Note that it doesn't work on Windows -# "yes" always enables it, -# "detect" enables it when printing to terminal and -# "no" disables it -log_color (Colored logs) enum detect yes,detect,no - # IPv6 support. enable_ipv6 (IPv6) bool true -- cgit v1.2.3