Draft: Add a log function to the lua debug package which exposes Log and Debug::Level...

Hi this is my first pull-request for OpenMW so please let me know if I am doing anything wrong or missed something.

Added a new Debug.log() function to the Lua API as discussed in issue 7862 and issue 8050. I used the example in 8050 as the basis for the syntax but I can tweak if desired. Also I already updated the debug package luadoc.

  • Add a log function to the lua debug package which exposes Log and Debug::Level for more fine grained logging support in Lua
  • Update the luadocs for the debug package to include the new log function

Merge request reports

Loading