Exporting chat logs

It would be nice if it was possible to export my game’s chat logs into PDF format or TXT format. This is likely a dealbreaker for me.