A Simple logging decorator for Flask applications