Function extract_log_index

Source
pub fn extract_log_index(log: &Log) -> Result<u32>
Expand description

Extracts the log index from a log entry

§Errors

Returns an error if the log index is not present in the log.