fabric_contract::runtime
pub fn hook(info: &PanicInfo<'_>)
Hook function to capture the panic and route it to the logger