pub fn process_line( line: &str, buffer: &mut BytesMut, outlock: &mut StdoutLock<'_>, ) -> Result<()>
Process a single line of input (JSON or plain text) and write to output.