MCPcopy Create free account
hub / github.com/ddimaria/rust-blockchain-tutorial / on_call

Method on_call

chain/src/logger.rs:25–32  ·  view source on GitHub ↗
(&self, name: &str, params: Params, kind: MethodKind, _t: TransportProtocol)

Source from the content-addressed store, hash-verified

23 }
24
25 fn on_call(&self, name: &str, params: Params, kind: MethodKind, _t: TransportProtocol) {
26 tracing::info!(
27 "[Logger::on_call] method: '{}', params: {:?}, kind: {}",
28 name,
29 params,
30 kind
31 );
32 }
33
34 fn on_result(
35 &self,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected