Set the global logging verbosity for the WASM Pubky SDK. Routes Rust log output to the browser console.
log
Accepted values (case-sensitive): "error" | "warn" | "info" | "debug" | "trace". Effects:
Log level set to: <level>
level
console.*
Minimum log level to enable. One of: "error" | "warn" | "info" | "debug" | "trace".
If level is invalid ("Invalid log level") or the logger cannot be initialized (e.g., already initialized).
Usage: Call once at application startup, before invoking other SDK APIs.
Set the global logging verbosity for the WASM Pubky SDK. Routes Rust
logoutput to the browser console.Accepted values (case-sensitive): "error" | "warn" | "info" | "debug" | "trace". Effects:
Log level set to: <level>.levelare forwarded to the appropriateconsole.*method.