[Issue 21751] New: std.experimental.logger add possibility to pass a throwable to a log

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Mar 23 23:10:32 UTC 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 at puremagic.com
          Reporter: etienne at 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.

--


More information about the Digitalmars-d-bugs mailing list