When using Target::Pipe to log to a file (or another similar buffered output interface), the fact that we flush after each line causes a significant slowdown. It would be awesome to provide some sort of configuration mechanism to disable this automatic flushing after each line, letting the user force flushing at shutdown with log::logger().flush(), if necessary.
It looks like this automatic flushing logic was added here.