Skip to content

Commit

Permalink
Log message update
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmettugur committed Jan 24, 2024
1 parent 88f1e11 commit cf400d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public async Task Process(TRequest request, CancellationToken cancellationToken)
{
var requestName = typeof(TRequest).Name;

_logger.LogInformation("CleanArchitecture Request: {Name} {@Request}", requestName, request);
_logger.LogInformation("Minimal Api CleanArchitecture Request: {Name} {@Request}", requestName, request);

await Task.CompletedTask;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public async Task<TResponse> Handle(TRequest request, RequestHandlerDelegate<TRe
{
var requestName = typeof(TRequest).Name;

_logger.LogWarning("CleanArchitecture Long Running Request: {Name} ({ElapsedMilliseconds} milliseconds) {@Request}", requestName, elapsedMilliseconds, request);
_logger.LogWarning("Minimal Api CleanArchitecture Long Running Request: {Name} ({ElapsedMilliseconds} milliseconds) {@Request}", requestName, elapsedMilliseconds, request);
}

return response;
Expand Down

0 comments on commit cf400d0

Please sign in to comment.