Pass log levels, rather than IOs, to the block inside of pipe()