Implement Before and After methods. Implement some logs