macro_rules! logged_panic {
($e: expr) => { ... };
($e: expr, $log:expr) => { ... };
}
Appends [event] to file then panics.
If no file supplied then defaults to "event.log".
creates the file if it doesnt exist.
logged_panic!("Hi!", "test.log");
logged_panic!("default log");