Replaced FinalizedLogTraceListener with FinalizedTextWriter