Corrected Log::endl behaviour when stream is not "good"