aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authoryou <ovvv@web.de>2017-12-06 18:50:39 +0100
committerSmallJoker <SmallJoker@users.noreply.github.com>2017-12-06 18:50:39 +0100
commite049405fdc688a4d619f3ae88008bbe5ee85b569 (patch)
tree12acb7536beb3d40c69f420d1ec649d33bba6790 /builtin
parent4edf08709010f721b099dfae3cab011acbdfb3ff (diff)
downloadminetest-e049405fdc688a4d619f3ae88008bbe5ee85b569.tar.gz
minetest-e049405fdc688a4d619f3ae88008bbe5ee85b569.tar.bz2
minetest-e049405fdc688a4d619f3ae88008bbe5ee85b569.zip
Add coloured logs (#4549)
The setting log_colour can be used to en-/disable or autodetect it.
Diffstat (limited to 'builtin')
-rw-r--r--builtin/settingtypes.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt
index 62d695fed..24b7008a1 100644
--- a/builtin/settingtypes.txt
+++ b/builtin/settingtypes.txt
@@ -1207,6 +1207,13 @@ language (Language) enum ,be,ca,cs,da,de,en,eo,es,et,fr,he,hu,id,it,ja,jbo,ko,
# - 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