Make ConsoleLogWriter use FormatLogRecord instead of re-inventing it

Implementation mirrors FileLogWriter, including SetFormat signature.