Remove direct 'log' dependency

This commit is contained in:
Luca Palmieri 2022-01-02 16:50:14 +01:00
parent 6af1b8572c
commit bd94a6c822

View file

@ -47,7 +47,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
}
}