Skip to content

I have problem with IRequestPreProcessor pipeline #1005

@shirin-monzavi

Description

@shirin-monzavi

Hello,
I have two problems.
Firstly,
I need to write log and my logger is specific for us.

private readonly ILoggerProvider<GetBalanceQueryHandler> _logger;

GetBalanceQueryHandler is type of the handler and i want to use IRequestPreProcessor.

when i inject ILoggerProvider I cannot get the type of handler.

Note: GetBalanceQueryHandler is a sample and for every scenario is different.

Secondly,
I want to write some log for specific handlers how could i deal with?

I will look forward hearing you.

I really appreciate you in advance.

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