Skip to content

Add Python log file (logging) grammar #1402

@vsoch

Description

@vsoch

Your library is great! I'm looking to highlight a standard python error log (created with logging), meaning bringing certain lines to the user's attention with a different color. This would be a simple matter of formatting an entire line in one style based on the starting text. For example, here is a log:

https://singularity-hub.org/containers/46/

Right now it looks nice, but the important information (errors, then warnings) doesn't jump out. Ideally, the INFO lines would all be a lighter color, the ERROR would be the most noticable, etc.

I can definitely do the coding for the custom theme, I am hoping you could point me in the right direction of a (close to what I am looking for) language template and /or docs to start? Thanks a bunch!

Metadata

Metadata

Assignees

No one assigned

    Labels

    help welcomeCould use help from community

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions