https://benfoster.io/blog/serilog-best-practices/#message-template-recommendations
Noncompliant Code Examples:
Log.Error("Disk quota {Quota} MB exceeded by {User}.", quota, user);Compliant Solution:
Log.Error("Disk quota {Quota} MB exceeded by {User}", quota, user);Also applies to custom logging wrappers.
Also applies to ZLogger 2.x interpolated templates, where no quick fix is offered:
logger.ZLogError($"Disk quota {quota:@Quota} MB exceeded by {user:@User}.");