#50 separated logging from MethodCacher and MethodLogger