We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b26137b commit 3267edbCopy full SHA for 3267edb
src/wasm/src/lib.rs
@@ -8,6 +8,14 @@ mod util;
8
9
#[msfs::gauge(name=navigation_data_interface)]
10
async fn navigation_data_interface(mut gauge: msfs::Gauge) -> Result<(), Box<dyn std::error::Error>> {
11
+ // Log the current version of the module
12
+ println!(
13
+ "{}",
14
+ format!(
15
+ "[NAVIGRAPH]: Navigation data interface version {} started",
16
+ env!("CARGO_PKG_VERSION")
17
+ )
18
+ );
19
let mut dispatcher = dispatcher::Dispatcher::new();
20
while let Some(event) = gauge.next_event().await {
21
dispatcher.on_msfs_event(event);
0 commit comments