diff options
author | ShadowNinja <shadowninja@minetest.net> | 2015-10-13 03:57:44 -0400 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2015-10-14 01:03:54 -0400 |
commit | 2139d7d45fb1a8ed250ad96c9975c581f02f72a9 (patch) | |
tree | 3e954063710add83723798937637db7c67a254eb /minetest.conf.example | |
parent | e0b57c1140554fccbf3e57a036cc4100887ab8f1 (diff) | |
download | minetest-2139d7d45fb1a8ed250ad96c9975c581f02f72a9.tar.gz minetest-2139d7d45fb1a8ed250ad96c9975c581f02f72a9.tar.bz2 minetest-2139d7d45fb1a8ed250ad96c9975c581f02f72a9.zip |
Refactor logging
- Add warning log level
- Change debug_log_level setting to enumeration string
- Map Irrlicht log events to MT log events
- Encapsulate log_* functions and global variables into a class, Logger
- Unify dstream with standard logging mechanism
- Unify core.debug() with standard core.log() script API
Diffstat (limited to 'minetest.conf.example')
-rw-r--r-- | minetest.conf.example | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/minetest.conf.example b/minetest.conf.example index 695e413c9..15d0abbf3 100644 --- a/minetest.conf.example +++ b/minetest.conf.example @@ -612,8 +612,9 @@ #remote_media = # Level of logging to be written to debug.txt: -# 0 = none, 1 = errors and debug, 2 = action, 3 = info, 4 = verbose. -#debug_log_level = 2 +# <nothing> (no logging), none (messages with no level), error, +# warning, action, info, or verbose. +#debug_log_level = action # Maximum number of blocks that can be queued for loading #emergequeue_limit_total = 256 |