@MCV: separate log for debugging

From my experience luup.log() isn’t well suited for plugin debugging, as it sends everything into the general pile that gets hundreds of messages from everywhere. Working with that log file for while debugging is… doable, but time consuming and inconvenient.
Would it be possible to add a function luup.debug() or luup.debug(filename) exclusively for temporary debug prints that would send those prints into a separate file to ease the debugging process?