Refactor logging messages for consistency and clarity
- Updated various logging messages across the application to replace Russian text with English equivalents, ensuring consistency in error and information logs. - Enhanced clarity in log messages related to Telegram bot operations, user management commands, and health check services, improving overall traceability and understanding of application behavior.
This commit is contained in:
@@ -10,11 +10,11 @@ public sealed class LoggingBehavior<TRequest, TResponse>(ILogger<LoggingBehavior
|
||||
public async Task<TResponse> Handle(TRequest request, RequestHandlerDelegate<TResponse> next, CancellationToken cancellationToken)
|
||||
{
|
||||
var requestName = typeof(TRequest).Name;
|
||||
logger.LogInformation("Обработка {RequestName}", requestName);
|
||||
logger.LogInformation("Handling {RequestName}", requestName);
|
||||
|
||||
var response = await next();
|
||||
|
||||
logger.LogInformation("Обработан {RequestName}", requestName);
|
||||
logger.LogInformation("Handled {RequestName}", requestName);
|
||||
return response;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user