Repository.WriteToDiagnosticsLog