Abstraction interface for the diagnostic log. Primarily for deserialization.

interface INotificationDiagnosticLog {
    activityId?: string;
    description?: string;
    endTime?: Date;
    id?: string;
    logType?: string;
    messages?: NotificationDiagnosticLogMessage[];
    properties?: { [key: string]: string };
    source?: string;
    startTime?: Date;
}

Properties

activityId?: string

Identifier used for correlating to other diagnostics that may have been recorded elsewhere.

description?: string

Description of what subscription or notification job is being logged.

endTime?: Date

Time the log ended.

id?: string

Unique instance identifier.

logType?: string

Type of information being logged.

List of log messages.

properties?: { [key: string]: string }

Dictionary of log properties and settings for the job.

source?: string

This identifier depends on the logType. For notification jobs, this will be the job Id. For subscription tracing, this will be a special root Guid with the subscription Id encoded.

startTime?: Date

Time the log started.