pub fn set_boxed_recorder(
    recorder: Box<dyn Recorder>
) -> Result<(), SetRecorderError>
Expand description

Sets the global recorder to a Box<Recorder>.

This is a simple convenience wrapper over set_recorder, which takes a Box<Recorder> rather than a &'static Recorder. See the documentation for set_recorder for more details.


An error is returned if a recorder has already been set.