pub fn info_with_data<T: Serialize>( message: String, data: &T, ) -> Result<(), String>
Logs an informational message with additional serialized data.