[][src]Type Definition bdrck::logging::write::LogOutputFactory

type LogOutputFactory = Box<dyn Fn() -> Box<dyn Write> + Send + Sync>;

A LogOutputFactory is a function which can be called repeatedly, returning a Write implementor each time which can be used for log output.

This is necessary because upstream's Log::log function is &self, whereas all of the interesting member functions on Write are &mut self.