[Refactor] use __func__ to replace all the function name in printf