Feature request: Could `capture_log/2` also return the result of the function?

It is what I often done. Sometimes I also have sent message to self() with result to access it outside the closure.