Add support for changing the default logging stream.