[][src]Function dynerr::log

pub fn log<T: Display>(event: T, log_file: &str) -> T

appends [event] to [log_file]
creates file if it doesnt exist
panics on failure to create or appending to file