Refactored MethodLogger to MethodLogController