v1::BaseLogWriter::write() bug fix.