Skip to content

outputting the dump as html instead of just text opens up new possibilities #61

Description

@julian-goettingen

Hello,

I am using a custom library to log loads of information in error-scenarios in a long-running computation.
Today I discovered your library which is way more awesome than what I built.

However, there is one feature that I implemented in my code that I miss: The error-dumps are created as html.
This makes it possible to
(1) email them around, preserving colors
(2) print variables in a short form but keep the 'full' version as expandable on a click
(3) beatifully render objects that already define an html-representation (pandas dataframes)

Here is an example of what the script demo.py would output: (github doesnt let me upload as html but it is html)

demo_stack_dump.txt

If you are interested in having this feature I can code it up properly and we can maybe find a good way to expose it through the api in a backwards-compatible way.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions