aboutsummaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorSmallJoker <SmallJoker@users.noreply.github.com>2020-05-14 19:26:15 +0200
committerGitHub <noreply@github.com>2020-05-14 19:26:15 +0200
commit836dd4a1e4f97411519578cd9e59b6dbe3b2c00d (patch)
tree975ba90d47944c342536f0f7c5ee068b47dd7185 /builtin
parent2d7e000cfe578340a126d7101ac98c0de29b66b6 (diff)
downloadminetest-836dd4a1e4f97411519578cd9e59b6dbe3b2c00d.tar.gz
minetest-836dd4a1e4f97411519578cd9e59b6dbe3b2c00d.tar.bz2
minetest-836dd4a1e4f97411519578cd9e59b6dbe3b2c00d.zip
Add chat_log_level setting (#9223)
Log all higher levels in LogOutputBuffer Move StreamLogOutput::logRaw to source file like LogOutputBuffer::logRaw for compiling speed
Diffstat (limited to 'builtin')
-rw-r--r--builtin/settingtypes.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt
index 9e4473655..b75bf2de5 100644
--- a/builtin/settingtypes.txt
+++ b/builtin/settingtypes.txt
@@ -1401,6 +1401,9 @@ debug_log_level (Debug log level) enum action ,none,error,warning,action,info,ve
# debug.txt is only moved if this setting is positive.
debug_log_size_max (Debug log file size threshold) int 50
+# Minimal level of logging to be written to chat.
+chat_log_level (Chat log level) enum error ,none,error,warning,action,info,verbose
+
# Enable IPv6 support (for both client and server).
# Required for IPv6 connections to work at all.
enable_ipv6 (IPv6) bool true