Implement dumping of log records to strings