AzureAppServicesDiagnosticsSettings Class

Definition

Warning

This API is now obsolete.

Settings for Azure diagnostics logging.

public ref class AzureAppServicesDiagnosticsSettings
[System.Obsolete("This type is obsolete and will be removed in a future version. The recommended alternative is AzureBlobLoggerOptions.")]
public class AzureAppServicesDiagnosticsSettings
type AzureAppServicesDiagnosticsSettings = class
Public Class AzureAppServicesDiagnosticsSettings
Inheritance
AzureAppServicesDiagnosticsSettings
Attributes

Constructors

AzureAppServicesDiagnosticsSettings()

Properties

BackgroundQueueSize

Gets or sets the maximum size of the background log message queue or 0 for no limit. After maximum queue size is reached log event sink would start blocking. Defaults to 0.

BlobBatchSize

Gets or sets a maximum number of events to include in a single blob append batch. Defaults to 32.

BlobCommitPeriod

Gets or sets a time to wait between checking for blob log batches. Defaults to 5 seconds.

BlobName

Gets or sets the last section of log blob name. Defaults to "applicationLog.txt".

FileFlushPeriod

Gets or sets the period after which logs will be flushed to disk or null if auto flushing is not required. Defaults to 1 second.

FileSizeLimit

Gets or sets a strictly positive value representing the maximum log size in bytes. Once the log is full, no more messages will be appended. Defaults to 10MB.

OutputTemplate

Gets or sets a message template describing the output messages. Defaults to "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} [{Level}] {Message}{NewLine}{Exception}".

RetainedFileCountLimit

Gets or sets a strictly positive value representing the maximum retained file count. Defaults to 2.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to