How to change log level using SqlitePool? #1964
Answered
by
abonander
OskarKarpinski
asked this question in
Q&A
-
|
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
SqlitePoolis just a type alias forPool<Sqlite>so the answer in #1874 still applies:SqliteConnectOptionsand setlog_statementson thatSqlitePool::connect_with()with the options from the previous step.