rust/hg-core/src/logging.rs
changeset 47980 9cd35c8c6044
parent 46638 1f55cd5b292f
equal deleted inserted replaced
47979:cff41e168c25 47980:9cd35c8c6044
     1 use crate::errors::{HgError, HgResultExt, IoErrorContext, IoResultExt};
     1 use crate::errors::{HgError, HgResultExt, IoErrorContext, IoResultExt};
     2 use crate::repo::Vfs;
     2 use crate::vfs::Vfs;
     3 use std::io::Write;
     3 use std::io::Write;
     4 
     4 
     5 /// An utility to append to a log file with the given name, and optionally
     5 /// An utility to append to a log file with the given name, and optionally
     6 /// rotate it after it reaches a certain maximum size.
     6 /// rotate it after it reaches a certain maximum size.
     7 ///
     7 ///