preaction / Log-Any

Simple, fast Perl logging API compatible with any logging system
Other
13 stars 19 forks source link

Fix stack trace scrubbing in Log::Any::Proxy::WithStackTrace #100

Closed larryl closed 1 year ago

larryl commented 1 year ago

The previous logic was all wrong - it extracted the stack trace from any exception objects sent as log messages, and scrubbed them, but then threw away the exception objects entirely and just sent the stack trace as if it was the log message. The new logic logic scrubs the stack traces in-place within the exception objects.

preaction commented 1 year ago

Thanks! This is on its way to CPAN as Log-Any-1.717