LoggerContract interface

Logger details.

Extends

Properties

credentials

The name and SendRule connection string of the event hub for azureEventHub logger. Instrumentation key for applicationInsights logger.

description

Logger description.

isBuffered

Whether records are buffered in the logger before publishing. Default is assumed to be true.

loggerType

Logger type.

resourceId

Azure Resource Id of a log target (either Azure Event Hub resource or Azure Application Insights resource).

Inherited Properties

id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} NOTE: This property will not be serialized. It can only be populated by the server.

name

The name of the resource NOTE: This property will not be serialized. It can only be populated by the server.

type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" NOTE: This property will not be serialized. It can only be populated by the server.

Property Details

credentials

The name and SendRule connection string of the event hub for azureEventHub logger. Instrumentation key for applicationInsights logger.

credentials?: {[propertyName: string]: string}

Property Value

{[propertyName: string]: string}

description

Logger description.

description?: string

Property Value

string

isBuffered

Whether records are buffered in the logger before publishing. Default is assumed to be true.

isBuffered?: boolean

Property Value

boolean

loggerType

Logger type.

loggerType?: string

Property Value

string

resourceId

Azure Resource Id of a log target (either Azure Event Hub resource or Azure Application Insights resource).

resourceId?: string

Property Value

string

Inherited Property Details

id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} NOTE: This property will not be serialized. It can only be populated by the server.

id?: string

Property Value

string

Inherited From ProxyResource.id

name

The name of the resource NOTE: This property will not be serialized. It can only be populated by the server.

name?: string

Property Value

string

Inherited From ProxyResource.name

type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" NOTE: This property will not be serialized. It can only be populated by the server.

type?: string

Property Value

string

Inherited From ProxyResource.type