Another case where reversing the condition might make sense.
if (log_stream) { fputs(...); fputs(...); }