通过在终端中覆盖之前的输出来记录日志。适用于显示进度条、动画等效果。
Log by overwriting the previous output in the terminal. Useful for rendering progress bars, animations, etc.