Revert "Revert "模拟NSLOG""

This reverts commit ea3e163fe8506669407eac34391487b914ceca40.