Remove direct 'log' dependency

This commit is contained in:
Luca Palmieri 2022-01-02 16:50:14 +01:00
parent 674358415b
commit 0168ad31bc

View file

@ -48,7 +48,7 @@ impl DatabaseSettings {
pub fn with_db(&self) -> PgConnectOptions {
let mut options = self.without_db().database(&self.database_name);
options.log_statements(log::LevelFilter::Trace);
options.log_statements(tracing::log::LevelFilter::Trace);
options
}
}