Example #1
0
 private void LogOrder(Order order)
 {
     _logger.Log("Order processed: " + order.ToString());
 }
Example #2
0
        private void LogOrder(Order order)
        {
            var logger = new Logger();

            logger.Log("Order processed: " + order.ToString());
        }