format log, add space after colon

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages
2023-11-18 09:47:08 +08:00
parent 0b5f48b926
commit f9ee0189f0
15 changed files with 36 additions and 36 deletions

View File

@@ -60,7 +60,7 @@ impl RecorderContext {
".mp4"
};
self.filename = PathBuf::from(&dir).join(file).to_string_lossy().to_string();
log::info!("video will save to:{}", self.filename);
log::info!("video will save to {}", self.filename);
Ok(())
}
}
@@ -225,7 +225,7 @@ impl Recorder {
let old_pts = self.pts;
self.pts = Some(pts);
if old_pts.clone().unwrap_or_default() > pts {
log::info!("pts {:?}->{}, change record filename", old_pts, pts);
log::info!("pts {:?} -> {}, change record filename", old_pts, pts);
self.change(self.ctx.clone())?;
}
Ok(())