Module logfile

Source
Expand description

Interface to the timelog file for the timelog application.

§Examples

use timelog::logfile::Logfile;
let timelog = Logfile::new("./timelog.txt" )?;

let task = timelog.last_line();
println!("{:?}", task);

timelog.add_task("+Project @Task More detail");

Structs§

Logfile
A Logfile type that wraps the timelog log file.

Enums§

Problem
Problems that can be found in a logfile