Skip to content

Log class name / method name / line number #1084

@leaderanalytics

Description

@leaderanalytics

I am new to Serilog. Like most others I need to log location of exceptions, etc. in my code.
I found a workaround here but like the OP of the referenced question I am incredulous that such fundamental and essential information can only be obtained via a workaround in a framework as robust as Serilog.

So.... before I decorate my code with hundreds of "Here()" calls, please confirm that obtaining requested info is not available via a more straightforward approach.

Thanks

BTW I've also read this

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions