Skip to content

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

Open
@Ramoshuai

Description

@Ramoshuai

我实现了自己的LoggingFilter

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

Activity

EzrealJ

EzrealJ commented on Apr 22, 2024

@EzrealJ
Collaborator

实现这个需求需要两个要素

added
等待反馈(needs feedback)这意味着需要来自发起者的反馈(This means that feedback from the author is required)
on Jun 27, 2024
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

    等待反馈(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

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