pub trait Logging {
    fn write_log<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        ctx: &'life1 Context,
        arg: &'life2 LogEntry
    ) -> Pin<Box<dyn Future<Output = RpcResult<()>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; fn contract_id() -> &'static str { ... } }
Expand description

wasmbus.contractId: wasmcloud:builtin:logging wasmbus.providerReceive

Required Methods

WriteLog - log a text message

Provided Methods

returns the capability contract id for this interface

Implementors