屏蔽Logging导致的null function pointer