We can add the capability to capture more structured stack traces in the env.log method later on. This stack overflow post might be useful to get more structured info than the string returned by new Error().stack:
Version: unspecified
Severity: normal