March 23, 2021
https://issues.dlang.org/show_bug.cgi?id=21751

          Issue ID: 21751
           Summary: std.experimental.logger add possibility to pass a
                    throwable to a log
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: phobos
          Assignee: nobody@puremagic.com
          Reporter: etienne@gitrekt.fr

It would be a nice feature to add the possibility to add a Throwable to logs functions and LogEntry. This would add the possibility to enrich the log with Exception information (like the stack trace), as it’s possible to do in languages like Python or java.

--