A simple Logging decorator