Gracefully panic when logging fails.