تخطَّ إلى المحتوى

Empty log message (ARCH1008)

هذا المحتوى غير متوفر بلغتك بعد.

Key dotnet.logging.empty-log-message · Severity error · Category logging

Empty or whitespace-only log messages carry no information and clutter the logs. Always write a meaningful message.

_logger.LogInformation("");
_logger.LogInformation("Order {OrderId} queued", orderId);

Replace the empty template with a meaningful message that describes the event and includes the necessary context.