5 posts • Page 1 of 1
As per title. Sometimes it can be hard finding the relevant module output between all the engine loading stuff. Or perhaps suppress the output for the boot module, since it all seems to work fine anyway.
Grey, I suggest making the output of your module grep-able from the main log. Make your own module print function as below:
and use "mprint" in your module instead of "print". This allows you to do `grep '[MY_MODULE]' te4_log.txt` to see all the module-related output.
Code: Select all
mprint = function(...) print("[MY_MODULE]", ...) end