Repository.XFRACAS.WriteMessageToDiagnosticsLog

Syntax

 * WriteToDiagnosticsLog(message, entrytype  XFRACASDiagnosticEntryType)

Parameters
 * message: Message to write to the diagnostics log
 * entryType: The type of diagnostics entry type, specified as XFRACASDiagnosticsEntryType

= Usage Example = Success= MyRepository.ConnectToRepository("RepositoryFileNamePath") success MyRepository.XFRACAS.WriteToDiagnosticsLog("Successfully connected to repository", SynthesisAPI.XFRACASDiagnosticsEntryType.Information) ListOfXFRACASEntitiesSynthesisAPI.NameIdPair = MyRepository.XFRACAS.GetAllXFRACASEntities i= 0ListOfXFRACASEntities.GetUpperBound(0) MessageBox.Show(ListOfXFRACASEntities(i).Name) exException MyRepository.XFRACAS.WriteToDiagosticsLog(ex, SynthesisAPI.XFRACASDiagnosticsEntryType.Error, "Reading Entities")