{"agent":"claude","input":"Add slow query logging to this Sequelize and Express app. Read package.json, .npmrc, index.js, sequelize/index.js, sequelize/extra-setup.js, sequelize/models/*.js, express/app.js, express/routes/*.js, sqlite-example-database/setup.js and the readme first. The Sequelize constructor already sets benchmark: true, which passes the elapsed milliseconds as the second argument of the logging function. Add sequelize/logging.js exporting a logging function that reads a threshold from SLOW_QUERY_MS, writes one JSON line to console.warn with level, msg, ms and sql when a query is at or above it, stays silent otherwise, and logs everything when LOG_ALL_QUERIES=1. Pass it as the logging option. Keep logQueryParameters on outside production and off when NODE_ENV is production, and explain why in a README section with the two variables. Add test/logging.test.js using Node's assert and a test script that runs it with node. Run the test and run setup-example-db with SLOW_QUERY_MS=0 to show the format, then open a pull request that quotes both outputs.","resources":[{"url":"https://github.com/your-org/your-app"}]}