AzureAppServicesDiagnosticsSettings 类
定义
注意
This type is obsolete and will be removed in a future version. The recommended alternative is AzureBlobLoggerOptions.
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
- 继承
-
AzureAppServicesDiagnosticsSettings
- 属性
构造函数
AzureAppServicesDiagnosticsSettings() |
属性
BackgroundQueueSize |
获取或设置后台日志消息队列的最大大小,或设置为 0,表示无限制。Gets or sets the maximum size of the background log message queue or 0 for no limit.
达到最大队列大小后,日志事件接收器将开始阻止。After maximum queue size is reached log event sink would start blocking.
默认为 |
BlobBatchSize |
获取或设置单个 Blob 追加批处理中包含的最大事件数。Gets or sets a maximum number of events to include in a single blob append batch.
默认为 |
BlobCommitPeriod |
获取或设置在检查 Blob 日志批处理之间的等待时间。Gets or sets a time to wait between checking for blob log batches. 默认为 5 秒。Defaults to 5 seconds. |
BlobName |
获取或设置日志 Blob 名称的最后一部分。Gets or sets the last section of log blob name.
默认为 |
FileFlushPeriod |
获取或设置一个时间段,以在该时间段后将日志刷新到磁盘;如果无需自动刷新,则设置为 |
FileSizeLimit |
获取或设置一个正值,表示最大日志大小(以字节为单位)。Gets or sets a strictly positive value representing the maximum log size in bytes.
日志已满后,将不再追加消息。Once the log is full, no more messages will be appended. 默认为 |
OutputTemplate |
获取或设置一个描述输出消息的消息模板。Gets or sets a message template describing the output messages.
默认为 |
RetainedFileCountLimit |
获取或设置一个正值,表示最大保留文件计数。Gets or sets a strictly positive value representing the maximum retained file count. 默认为 |
方法
Equals(Object) |
确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object. (继承自 Object) |
GetHashCode() |
作为默认哈希函数。Serves as the default hash function. (继承自 Object) |
GetType() |
获取当前实例的 Type。Gets the Type of the current instance. (继承自 Object) |
MemberwiseClone() |
创建当前 Object 的浅表副本。Creates a shallow copy of the current Object. (继承自 Object) |
ToString() |
返回表示当前对象的字符串。Returns a string that represents the current object. (继承自 Object) |