-
This isn't a duplicate of #1874 How to change log level to e.g. trace using SqlitePool? ...
let options = SqlitePoolOptions::new();
options.log_statements(LevelFilter::Trace); // no method named `log_statements`
... |
Beta Was this translation helpful? Give feedback.
Answered by
abonander
Jul 11, 2022
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
abonander
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
SqlitePool
is just a type alias forPool<Sqlite>
so the answer in #1874 still applies:SqliteConnectOptions
and setlog_statements
on thatSqlitePool::connect_with()
with the options from the previous step.