AzureFileLoggerOptions Clase

Definición

Opciones de registro de archivos de diagnóstico de Azure.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
Herencia
Microsoft.Extensions.Logging.AzureAppServices.Internal.BatchingLoggerOptions
AzureFileLoggerOptions
Herencia
AzureFileLoggerOptions

Constructores

AzureFileLoggerOptions()

Propiedades

BackgroundQueueSize

Obtiene o establece el tamaño máximo de la cola de mensajes de registro en segundo plano o NULL si no hay límites.Gets or sets the maximum size of the background log message queue or null 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 1000.Defaults to 1000.

(Heredado de BatchingLoggerOptions)
BatchSize

Obtiene o establece un número máximo de eventos que se van a incluir en un lote único o NULL si no hay límites.Gets or sets a maximum number of events to include in a single batch or null for no limit.

(Heredado de BatchingLoggerOptions)
FileName

Obtiene o establece una cadena que representa el prefijo del nombre de archivo que se usa para almacenar la información de registro.Gets or sets a string representing the prefix of the file name used to store the logging information. La fecha actual, con el formato AAAAMMDD, se agregará después del valor especificado.The current date, in the format YYYYMMDD will be added after the given value. El valor predeterminado es diagnostics-.Defaults to diagnostics-.

FileSizeLimit

Obtiene o establece un valor estrictamente positivo que representa el tamaño máximo del registro en bytes o NULL si no hay límites.Gets or sets a strictly positive value representing the maximum log size in bytes or null for no limit. 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.

FlushPeriod

Obtiene o establece el período después del que se vaciarán los registros en el almacén.Gets or sets the period after which logs will be flushed to the store.

(Heredado de BatchingLoggerOptions)
IncludeScopes

Obtiene o establece un valor que indica si los ámbitos se deben incluir en el mensaje.Gets or sets a value indicating whether scopes should be included in the message. Tiene como valor predeterminado false.Defaults to false.

(Heredado de BatchingLoggerOptions)
IsEnabled

Obtiene o establece un valor que indica si el registrador acepta y pone en cola las operaciones de escritura.Gets or sets value indicating if logger accepts and queues writes.

(Heredado de BatchingLoggerOptions)
RetainedFileCountLimit

Obtiene o establece un valor estrictamente positivo que representa el recuento máximo de archivos retenidos o NULL si no hay límites.Gets or sets a strictly positive value representing the maximum retained file count or null for no limit. 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