Struct logging::FileHandler [] [src]

pub struct FileHandler { /* fields omitted */ }

Logging to a file

extern crate logging;

fn main() {
  let handler = logging::FileHandler::new("my.log");
  logging::root().add_handler(handler);
}

Methods

impl FileHandler
[src]

[src]

Trait Implementations

impl Handler for FileHandler
[src]

[src]

Actually do something with the message.