When logging met AOP with Fody

from blog Just Some Code, | ↗ original
How many times have you had to log the entry and the exit of every single method in a service or in a class? So, your code ends up entangled with lots of Log.XXX lines. Something like this: abstract class Beverage { private int _capacity = 10; public int Drink(int count) { Log.Info($"Init {nameof(Drink)}"); try ...