safe_call和logger都引入进去