Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
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
- Loading branch information
Showing
with
574 additions
and 627 deletions.
- +4 −10 builtin/common/strict.lua
- +4 −2 builtin/fstk/ui.lua
- +6 −7 builtin/game/deprecated.lua
- +1 −1 builtin/game/register.lua
- +1 −1 builtin/init.lua
- +5 −5 doc/lua_api.txt
- +3 −2 minetest.conf.example
- +5 −21 src/client/clientlauncher.cpp
- +2 −2 src/client/clientlauncher.h
- +10 −10 src/client/inputhandler.h
- +12 −125 src/debug.cpp
- +7 −24 src/debug.h
- +1 −1 src/defaultsettings.cpp
- +2 −3 src/game.cpp
- +5 −4 src/gameparams.h
- +239 −126 src/log.cpp
- +145 −51 src/log.h
- +0 −58 src/logoutputbuffer.h
- +56 −69 src/main.cpp
- +1 −2 src/minimap.cpp
- +13 −47 src/script/lua_api/l_util.cpp
- +0 −4 src/script/lua_api/l_util.h
- +2 −2 src/threading/thread.cpp
- +5 −6 src/unittest/test.cpp
- +45 −44 src/unittest/test.h
Oops, something went wrong.