mirror of
https://github.com/LukeMathWalker/zero-to-production.git
synced 2024-12-18 05:56:35 +00:00
Remove direct 'log' dependency
This commit is contained in:
parent
674358415b
commit
0168ad31bc
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ impl DatabaseSettings {
|
||||||
|
|
||||||
pub fn with_db(&self) -> PgConnectOptions {
|
pub fn with_db(&self) -> PgConnectOptions {
|
||||||
let mut options = self.without_db().database(&self.database_name);
|
let mut options = self.without_db().database(&self.database_name);
|
||||||
options.log_statements(log::LevelFilter::Trace);
|
options.log_statements(tracing::log::LevelFilter::Trace);
|
||||||
options
|
options
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue