AzureFileLoggerOptions Sınıf
Tanım
Azure tanılama dosya günlüğü seçenekleri.Options for Azure diagnostics file logging.
public ref class AzureFileLoggerOptions : Microsoft::Extensions::Logging::AzureAppServices::Internal::BatchingLoggerOptions
public ref class AzureFileLoggerOptions : Microsoft::Extensions::Logging::AzureAppServices::BatchingLoggerOptions
public class AzureFileLoggerOptions : Microsoft.Extensions.Logging.AzureAppServices.Internal.BatchingLoggerOptions
public class AzureFileLoggerOptions : Microsoft.Extensions.Logging.AzureAppServices.BatchingLoggerOptions
type AzureFileLoggerOptions = class
inherit BatchingLoggerOptions
Public Class AzureFileLoggerOptions
Inherits BatchingLoggerOptions
- Devralma
-
Microsoft.Extensions.Logging.AzureAppServices.Internal.BatchingLoggerOptionsAzureFileLoggerOptions
- Devralma
Oluşturucular
| AzureFileLoggerOptions() |
Özellikler
| BackgroundQueueSize |
Arka plan günlüğü ileti sırasının en büyük boyutunu alır veya ayarlar; sınır yok olarak null olur.Gets or sets the maximum size of the background log message queue or null 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 olarak |
| BatchSize |
Tek bir toplu işe dahil edilecek en fazla olay sayısını alır veya ayarlar, sınır olmaması için null değerini alır veya ayarlar.Gets or sets a maximum number of events to include in a single batch or null for no limit. (Devralındığı yer: BatchingLoggerOptions) |
| FileName |
Günlüğe kaydetme bilgilerini depolamak için kullanılan dosya adının önekini temsil eden bir dize alır veya ayarlar.Gets or sets a string representing the prefix of the file name used to store the logging information.
YYYYMMDD biçimindeki geçerli tarih, verilen değerden sonra eklenecek.The current date, in the format YYYYMMDD will be added after the given value.
Varsayılan olarak |
| FileSizeLimit |
En büyük günlük boyutunu bayt cinsinden veya sınır olmadan null olarak gösteren kesinlikle pozitif bir değer alır veya ayarlar.Gets or sets a strictly positive value representing the maximum log size in bytes or null for no limit.
Günlük dolduğunda, daha fazla ileti eklenmez.Once the log is full, no more messages will be appended.
Varsayılan değer |
| FlushPeriod |
Depoda günlüklerin ne kadar süre sonra silinecek süreyi alır veya ayarlar.Gets or sets the period after which logs will be flushed to the store. (Devralındığı yer: BatchingLoggerOptions) |
| IncludeScopes |
Kapsamın iletiye dahil edilip edilmeyeceğini gösteren bir değer alır veya ayarlar.Gets or sets a value indicating whether scopes should be included in the message.
Varsayılan olarak olur |
| IsEnabled |
Günlükçü 'nin ve kuyrukların yazmaları kabul edip etmediğini gösteren değeri alır veya ayarlar.Gets or sets value indicating if logger accepts and queues writes. (Devralındığı yer: BatchingLoggerOptions) |
| RetainedFileCountLimit |
En fazla tutulan dosya sayısını veya hiçbir sınır için null değeri temsil eden kesinlikle pozitif bir değer alır veya ayarlar.Gets or sets a strictly positive value representing the maximum retained file count or null for no limit.
Varsayılan olarak |
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) |