[][src]Macro dynerr::log

macro_rules! log {
    ($event:expr) => { ... };
    ($event:expr, $log:expr) => { ... };
}

Appends [event] to file.

If no file supplied then defaults to "event.log".
creates the file if it doesnt exist.

Example

log!("this is a test", "test.log");
log!("do log!");