AzureAppServicesDiagnosticsSettings Sınıf

Tanım

Dikkat

This type is obsolete and will be removed in a future version. The recommended alternative is AzureBlobLoggerOptions.

Azure tanılama günlüğü için ayarlar.Settings for Azure diagnostics logging.

public ref class AzureAppServicesDiagnosticsSettings
public 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
[<System.Obsolete("This type is obsolete and will be removed in a future version. The recommended alternative is AzureBlobLoggerOptions.")>]
type AzureAppServicesDiagnosticsSettings = class
Public Class AzureAppServicesDiagnosticsSettings
Devralma
AzureAppServicesDiagnosticsSettings
Öznitelikler

Oluşturucular

AzureAppServicesDiagnosticsSettings()

Özellikler

BackgroundQueueSize

Arka plan günlüğü ileti sırasının en büyük boyutunu alır veya ayarlar, sınır olmaması için 0 ' dır.Gets or sets the maximum size of the background log message queue or 0 for no limit. En fazla sıra boyutuna ulaşıldığında günlüğe olay havuzu engelleme işlemi başlar.After maximum queue size is reached log event sink would start blocking. Varsayılan değer 0 ' dır.Defaults to 0.

BlobBatchSize

Tek blob ekleme toplu işinde içerilecek en fazla olay sayısını alır veya ayarlar.Gets or sets a maximum number of events to include in a single blob append batch. Varsayılan olarak 32' dir.Defaults to 32.

BlobCommitPeriod

Blob günlük toplu işleri için denetim arasında bekleme süresini alır veya ayarlar.Gets or sets a time to wait between checking for blob log batches. Varsayılan değer 5 saniyedir.Defaults to 5 seconds.

BlobName

Günlük blobu adının son bölümünü alır veya ayarlar.Gets or sets the last section of log blob name. Varsayılan olarak "applicationLog.txt"olur.Defaults to "applicationLog.txt".

FileFlushPeriod

Günlüklerin diske nasıl temizleneceği veya null Otomatik reçeteye göre sarf gerekmediği zaman aralığını alır veya ayarlar.Gets or sets the period after which logs will be flushed to disk or null if auto flushing is not required. Varsayılan 1 saniyedir.Defaults to 1 second.

FileSizeLimit

En büyük günlük boyutunu bayt cinsinden temsil eden kesinlikle pozitif bir değer alır veya ayarlar.Gets or sets a strictly positive value representing the maximum log size in bytes. Günlük dolduğunda, daha fazla ileti eklenmez.Once the log is full, no more messages will be appended. Varsayılan değer 10 MB'tır.Defaults to 10MB.

OutputTemplate

Çıkış iletilerini açıklayan bir ileti şablonu alır veya ayarlar.Gets or sets a message template describing the output messages. Varsayılan değer "{timestamp: YYYY-AA-GG SS: DD: ss. fff zzz} [{level}] {Message} {yeni satır} {Exception}"olarak belirlenmiştir.Defaults to "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} [{Level}] {Message}{NewLine}{Exception}".

RetainedFileCountLimit

En fazla tutulan dosya sayısını temsil eden kesinlikle pozitif bir değer alır veya ayarlar.Gets or sets a strictly positive value representing the maximum retained file count. Varsayılan olarak 2' dir.Defaults to 2.

Yöntemler

Equals(Object)

Belirtilen nesnenin geçerli nesneye eşit olup olmadığını belirler.Determines whether the specified object is equal to the current object.

(Devralındığı yer: Object)
GetHashCode()

Varsayılan karma işlevi olarak işlev görür.Serves as the default hash function.

(Devralındığı yer: Object)
GetType()

TypeGeçerli örneği alır.Gets the Type of the current instance.

(Devralındığı yer: Object)
MemberwiseClone()

Geçerli bir basit kopyasını oluşturur Object .Creates a shallow copy of the current Object.

(Devralındığı yer: Object)
ToString()

Geçerli nesneyi temsil eden dizeyi döndürür.Returns a string that represents the current object.

(Devralındığı yer: Object)

Şunlara uygulanır