Skip to content

Commit

Permalink
feat(client_core): ✨ Add alvr_initialize_logging() (#2439)
Browse files Browse the repository at this point in the history
  • Loading branch information
zmerp authored Oct 4, 2024
1 parent 370455d commit 9de7438
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions alvr/client_core/src/c_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,11 @@ pub enum AlvrLogLevel {
Debug,
}

#[no_mangle]
pub extern "C" fn alvr_initialize_logging() {
crate::init_logging();
}

#[no_mangle]
pub unsafe extern "C" fn alvr_path_string_to_id(path: *const c_char) -> u64 {
alvr_common::hash_string(CStr::from_ptr(path).to_str().unwrap())
Expand Down

0 comments on commit 9de7438

Please sign in to comment.