Skip to content

Commit

Permalink
put logging under leptos
Browse files Browse the repository at this point in the history
  • Loading branch information
sehz committed Jan 30, 2025
1 parent 61f1e7e commit 81e9961
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
14 changes: 3 additions & 11 deletions crates/fluvio-web/Makefile
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
BASE_DIR := $(abspath $(dir $(lastword $(MAKEFILE_LIST)))/../../)
include $(BASE_DIR)/common.mk

PROJ_NAME = fluvio-web
build:
cargo build -p $(PROJ_NAME) $(WASM_BUILD_SETTING)

TARGET=--target wasm32-unknown-unknown

# init directory to satify clippy
fake_dist:
mkdir -p release/dist

clean:
rm -rf release/dist
build:
cargo build -p $(PROJ_NAME) $(WASM_BUILD_SETTING) $(TARGET)
1 change: 1 addition & 0 deletions crates/fluvio-web/src/fluvio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ impl AppServices {

parsed_query.token
} else {
#[cfg(feature = "leptos")]
leptos::logging::log!("No query in fluvio conn string");
None
};
Expand Down

0 comments on commit 81e9961

Please sign in to comment.