Skip to content

Commit

Permalink
chore: using new try_init_log_from_env
Browse files Browse the repository at this point in the history
Signed-off-by: gabrik <[email protected]>
  • Loading branch information
gabrik committed Apr 18, 2024
1 parent 97ca227 commit f63f07e
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 28 deletions.
54 changes: 27 additions & 27 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ pub(crate) const LOG_INVALID_SESSION: &str = "Invalid session";
/// this will be performed automatically by `z_open` and `z_scout`.
#[no_mangle]
pub extern "C" fn zc_init_logger() {
zenoh_util::init_log_from_env();
zenoh_util::try_init_log_from_env();
}

// Test should be runned with `cargo test --no-default-features`
Expand Down

0 comments on commit f63f07e

Please sign in to comment.