Use tracing instead of log in collab and rpc crates

Co-Authored-By: Antonio Scandurra <me@as-cii.com>
This commit is contained in:
Nathan Sobo 2022-05-12 10:05:49 -06:00
parent 9f6e82720d
commit 9ca6e29a17
5 changed files with 52 additions and 56 deletions

View file

@ -44,7 +44,7 @@ impl AppState {
#[tokio::main]
async fn main() -> Result<()> {
if let Err(error) = env::load_dotenv() {
log::error!(
eprintln!(
"error loading .env.toml (this is expected in production): {}",
error
);