Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在rom-sql中,我想启用日志记录,以便我可以看到生成的所有 sql 查询。
我怎样才能做到这一点?
因为它在下面使用了续集,所以我通过sequel logger可能会以某种方式实现它。
明白了:ROM::SQL::Gateway#use_logger