Update sentry-cocoa from 4.x to 5.x

Hi,
we’ve previously used

Client.shared?.reportUserException(tag.rawValue,
                                   reason: "\(message())",
                                   language: "swift",
                                   lineOfCode: line,
                                   stackTrace: [],
                                   logAllThreads: false,
                                   terminateProgram: false)

in a custom logger, and I struggle to find a replacement in version 5.x.

Can you please give me an example how to update this piece of code?

Thanks.