
[source,csharp]
----
void MyMethod(List<MyObject> items) 
{
    logger.Debug("The operation started");
    foreach(var item in items) 
    {
        logger.Debug($"Evaluating {item.Name}");
        var result = Evaluate(item);
        logger.Debug($"Evaluating resulted in {result}");
    }
    logger.Debug("The operation ended");
}
----