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.WriteToDiagnosticsLog("Successfully connected to repository", SynthesisAPI.XFRACASDiagnosticsEntryType.Information) ListOfXFRACASEntitiesSynthesisAPI.NameIdPair = MyRepository.GetAllXFRACASEntities i= 0ListOfXFRACASEntities.GetUpperBound(0) MessageBox.Show(ListOfXFRACASEntities(i).Name) exException MyRepository.WriteToDiagosticsLog(ex, SynthesisAPI.XFRACASDiagnosticsEntryType.Error, "Reading Entities")