Skip to content

调用的地方比较多,有办法在LoggingFilter中获取到调用的信息 #248

@Ramoshuai

Description

@Ramoshuai

我实现了自己的LoggingFilter

想在 WriteLogAsync 中获取到是哪个地方调用的接口,比如
at App.Clients.UserService.RunRequestAsync() in D:\Repos\WebApiClient\App\Clients\UserService.cs:line 31

Metadata

Metadata

Assignees

No one assigned

    Labels

    等待反馈(needs feedback)这意味着需要来自发起者的反馈(This means that feedback from the author is required)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions