public void PaymentProcessing() { Log.Write("Start processing."); PaymentProcessor p = new PaymentProcessor(); p.Charge(100); Log.Write("End of processing."); }