Generate, display, and log diagnostic messages in the Diagnostic Viewer
Use an instance of sldiagviewer class to perform the
following operations:
Create a stage
Report Error
Report warning
Report Info
The sldiagviewer class is a handle class.