Skip to main content

chain_log_attributes

Function chain_log_attributes 

Source
fn chain_log_attributes(
    chain_position: Option<ChainPosition>,
) -> Vec<(String, LogAttribute)>
Expand description

Returns the chain position as log attributes, with the height as a number so that log queries can aggregate it.