3 ms·
I think you have a couple options [0], I currently have a project that uses 'echo' in debug mode. [0]: https://stackoverflow.com/questions/27748053/how-to-log-
by camgunz 3y ago
I think you have a couple options [0], I currently have a project that uses 'echo' in debug mode.
[0]: https://stackoverflow.com/questions/27748053/how-to-log-sql-statements-and-rows-returned-in-sqlalchemy-to-aid-in-debugging#27748054 https://stackoverflow.com/questions/27748053/how-to-log-sql-...
- nerdponx 3y agoYep, that's the same output that's emitted in the sqlalchemy.engine logger. If you use the logger you can use Pytest caplog to capture it.