In-game log viewer
Currently in Lua scripts print() => Log(Debug::Info)
and error() => Log(Debug::Error)
.
I'd like to see a system such as this, a simple standard path for any mod to log with just a few levels.
local log = require('openmw.log')
log.error('...')
log.warning('...')
log.info('...')
If the standard print
and error
are decided to be the best approach, I still believe being able to see a separate log with just Lua info is important. A Lua log view could be added to our almost unused debug window as hinted here.
Adding a tab to this debug window should be fairly simple so I've labeled this as a beginners task.