Struct log4rs_rolling_file::trigger::LogFile
[−]
[src]
pub struct LogFile<'a> {
// some fields omitted
}Information about the active log file.
Methods
impl<'a> LogFile<'a>
fn path(&self) -> &Path
Returns the path to the log file.
fn len(&self) -> u64
Returns an estimate of the log file's current size.
This is calculated by taking the size of the log file when it is opened and adding the number of bytes written. It may be inaccurate if any writes have failed or if another process has modified the file concurrently.