Method RedirectStdErrOnMacOs
RedirectStdErrOnMacOs()
Redirects the standard error stream to memory on macOS.
public static void RedirectStdErrOnMacOs()
Remarks
This method is only applicable when the application is running on macOS. It redirects the native standard error stream to an in-memory buffer, which can be useful for capturing error messages generated by native libraries.