Skip to content

Set a level based on the body #1731

Description

@ilan-schemoul

Is your feature request related to a problem? Please describe.
I have logs that has a level as defined per INF] ERR] etc. but some lines do not contain the level (INF] etc.). Some of these lines without info can be a stacktrace. Stacktrace show an exception name which as a convention always contains the word "Exception" in it (e.g.: NullReferenceException)
Describe the solution you'd like
Define a level not just based on the level but also a regex matching body
Describe alternatives you've considered
I don't see. I need the keymap "E" to jump to error. If error does not contain Exception I miss important info.

Additional context
aspire.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions