AzureFileLoggerOptions Class

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Options for Azure diagnostics file logging.

C#
public class AzureFileLoggerOptions : Microsoft.Extensions.Logging.AzureAppServices.BatchingLoggerOptions
Inheritance
AzureFileLoggerOptions

Constructors

Properties

BackgroundQueueSize

Gets or sets the maximum size of the background log message queue or null for no limit.

(Inherited from BatchingLoggerOptions)
BatchSize

Gets or sets the maximum number of events to include in a single batch or null for no limit.

(Inherited from BatchingLoggerOptions)
FileName

Gets or sets the prefix of the file name used to store the logging information.

FileSizeLimit

Gets or sets the maximum log size in bytes or null for no limit.

FlushPeriod

Gets or sets the period after which logs will be flushed to the store.

(Inherited from BatchingLoggerOptions)
IncludeScopes

Gets or sets a value indicating whether scopes should be included in the message.

(Inherited from BatchingLoggerOptions)
IsEnabled

Gets or sets a value indicating if the logger accepts and queues writes.

(Inherited from BatchingLoggerOptions)
RetainedFileCountLimit

Gets or sets the maximum retained file count or null for no limit.

Applies to

Product Versions
.NET 10 (package-provided)
.NET Standard 2.0 (package-provided)