pub fn hook(info: &panic::PanicInfo) {
    let msg = info.to_string();

    // Finally, log the panic via waPC
    error!("[Panic]{}[/Panic]", msg);
}
/// Hook function to capture the panic and route it
/// to the logger
Hook function to capture the panic and route it
to the logger
Hook function to capture the panic and route it to the logger
pub fn hook(info: &panic::PanicInfo) {
    let msg = info.to_string();
    // Finally, log the panic via waPC
    error!("[Panic]{}[/Panic]", msg);
}
pub fn hook ( info : & panic :: PanicInfo ) { let msg = info . to_string ( ) ; // Finally, log the panic via waPC error ! ( " " msg ) ; }
Hook function to capture the panic and route it
to the logger
Hook function to capture the panic and route it to the logger
info
&panic::PanicInfo