You can just log the whole string at the debug level.