- feat: add logger for internal plugin, and format api code (#696)