diff --git a/Logging.Formatting.Example/Program.cs b/Logging.Formatting.Example/Program.cs index e4610ce..c2745d2 100644 --- a/Logging.Formatting.Example/Program.cs +++ b/Logging.Formatting.Example/Program.cs @@ -79,7 +79,7 @@ logger.LogInformation(FarmLog.Milking, "{MilkBuckets} buckets of milk", 3); } - logger.LogInformation(FarmLog.Feeding, "Fat and happy", animal); + logger.LogInformation(FarmLog.Feeding, "Fat and happy"); } } diff --git a/README.md b/README.md index a4c395f..83d4c69 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ foreach (var animal in new[] { "cows", "pigs", "chickens" }) logger.LogInformation(FarmLog.Milking, "{MilkBuckets} buckets of milk", 3); } - logger.LogInformation(FarmLog.Feeding, "Fat and happy", animal); + logger.LogInformation(FarmLog.Feeding, "Fat and happy"); } }