Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Ramoshuai opened this issue Apr 19, 2024 · 1 comment
Labels
等待反馈(needs feedback) 这意味着需要来自发起者的反馈(This means that feedback from the author is required)

Comments

@Ramoshuai
Copy link

我实现了自己的LoggingFilter

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

@EzrealJ
Copy link
Collaborator

EzrealJ commented Apr 22, 2024

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

@EzrealJ EzrealJ added the 等待反馈(needs feedback) 这意味着需要来自发起者的反馈(This means that feedback from the author is required) label Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
等待反馈(needs feedback) 这意味着需要来自发起者的反馈(This means that feedback from the author is required)
Projects
None yet
Development

No branches or pull requests

2 participants