wasmcloud_provider_sdk

Function with_connection_event_logging

source
pub fn with_connection_event_logging(opts: ConnectOptions) -> ConnectOptions
Expand description

helper method to add logging to a nats connection. Logs disconnection (warn level), reconnection (info level), error (error), slow consumer, and lame duck(warn) events.