GoogleWorkspaceDiagnosticEntry
OfficeIMO.GoogleWorkspace
Structured diagnostic entry that callers can forward to their own logging pipeline.
Inheritance
- object
- GoogleWorkspaceDiagnosticEntry
Usage
Explore 5 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 4
- Method GoogleWorkspaceDiagnosticsExtensions.ToDiagnosticEntries
- Extension method GoogleWorkspaceExportException.ToDiagnosticEntries
- Property GoogleWorkspaceSessionOptions.DiagnosticSink
- Extension method TranslationReport.ToDiagnosticEntries
Accepted by parameters 1
Constructors
public GoogleWorkspaceDiagnosticEntry(TranslationSeverity severity, string feature, string message, string path = "", GoogleWorkspaceFailureKind? failureKind = null, string? code = null, TranslationAction action = None, int count = 1, string? targetId = null) #Creates a normalized structured diagnostic entry.
Parameters
- severity OfficeIMO.GoogleWorkspace.TranslationSeverity
- Impact of the diagnostic.
- feature string
- Feature that emitted the diagnostic.
- message string
- Human-readable explanation.
- path string = ""
- Optional source-object path.
- failureKind OfficeIMO.GoogleWorkspace.GoogleWorkspaceFailureKind? = null
- Related export-failure category, when applicable.
- code string? = null
- Stable diagnostic code, or null to derive one from feature.
- action OfficeIMO.GoogleWorkspace.TranslationAction = None
- Target action selected for the feature.
- count int = 1
- Number of equivalent occurrences represented by the entry.
- targetId string? = null
- Optional remote target identifier.
Inherited Methods
Properties
public string Code { get; } #Gets the stable machine-readable diagnostic code.
public TranslationSeverity Severity { get; } #Gets the impact of the diagnostic.
public string Feature { get; } #Gets the feature that emitted the diagnostic.
public string Message { get; } #Gets the human-readable explanation.
public string Path { get; } #Gets the source-object path, or an empty string when not applicable.
public GoogleWorkspaceFailureKind? FailureKind { get; } #Gets the related export-failure category, when applicable.
public TranslationAction Action { get; } #Gets the target action selected for the feature.
public int Count { get; } #Gets the number of equivalent occurrences represented by the entry.
public string? TargetId { get; } #Gets the related remote target identifier, when available.