pub fn init_logging(level: String)Expand description
Initialize the tracing subscriber for stdout logging.
This function sets up a tracing subscriber that outputs logs to stdout, making them visible when using the FFI from other languages.
Call this function once at application startup, before creating any wallets. Subsequent calls are safe but have no effect.
§Arguments
level- Log level filter (e.g., “debug”, “info”, “warn”, “error”, “trace”)
§Example (from Flutter/Dart)
await CdkFfi.initLogging("debug");
// Now all logs will be visible in stdout
final wallet = await WalletRepository.create(...);