AzureAppServicesDiagnosticsSettings Clase

Definición

Precaución

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

Configuración del registro de diagnósticos de Azure.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
Herencia
AzureAppServicesDiagnosticsSettings
Atributos

Constructores

AzureAppServicesDiagnosticsSettings()

Propiedades

BackgroundQueueSize

Obtiene o establece el tamaño máximo de la cola de mensajes de registro en segundo plano o 0 si no hay límites.Gets or sets the maximum size of the background log message queue or 0 for no limit. Una vez alcanzado el tamaño máximo de la cola, el receptor de eventos de registro comenzaría a bloquearse.After maximum queue size is reached log event sink would start blocking. El valor predeterminado es 0.Defaults to 0.

BlobBatchSize

Obtiene o establece un número máximo de eventos que se van a incluir en un lote de anexos de un solo blob.Gets or sets a maximum number of events to include in a single blob append batch. El valor predeterminado es 32.Defaults to 32.

BlobCommitPeriod

Obtiene o establece un tiempo de espera entre comprobaciones de lotes de registro de blobs.Gets or sets a time to wait between checking for blob log batches. El valor predeterminado es 5 segundos.Defaults to 5 seconds.

BlobName

Obtiene o establece la última sección del nombre del blob de registro.Gets or sets the last section of log blob name. El valor predeterminado es "applicationLog.txt".Defaults to "applicationLog.txt".

FileFlushPeriod

Obtiene o establece el período después del que los registros se vaciarán en el disco o null si el vaciado automático no es necesario.Gets or sets the period after which logs will be flushed to disk or null if auto flushing is not required. El valor predeterminado es 1 segundo.Defaults to 1 second.

FileSizeLimit

Obtiene o establece un valor estrictamente positivo que representa el tamaño máximo del registro en bytes.Gets or sets a strictly positive value representing the maximum log size in bytes. Una vez que el registro está lleno, no se anexarán más mensajes.Once the log is full, no more messages will be appended. Se establece en 10MB de forma predeterminada.Defaults to 10MB.

OutputTemplate

Obtiene o establece una plantilla de mensaje que describe los mensajes de salida.Gets or sets a message template describing the output messages. El valor predeterminado es "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} [{Level}] {Message}{NewLine}{Exception}".Defaults to "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} [{Level}] {Message}{NewLine}{Exception}".

RetainedFileCountLimit

Obtiene o establece un valor estrictamente positivo que representa el recuento máximo de archivos retenidos.Gets or sets a strictly positive value representing the maximum retained file count. Se establece en 2 de forma predeterminada.Defaults to 2.

Métodos

Equals(Object)

Determina si el objeto especificado es igual que el objeto actual.Determines whether the specified object is equal to the current object.

(Heredado de Object)
GetHashCode()

Sirve como la función hash predeterminada.Serves as the default hash function.

(Heredado de Object)
GetType()

Obtiene el Type de la instancia actual.Gets the Type of the current instance.

(Heredado de Object)
MemberwiseClone()

Crea una copia superficial del Object actual.Creates a shallow copy of the current Object.

(Heredado de Object)
ToString()

Devuelve una cadena que representa el objeto actual.Returns a string that represents the current object.

(Heredado de Object)

Se aplica a