BatchingLoggerProvider 类
定义
Microsoft.Extensions.Logging.AzureAppServices.Internal.BatchingLogger 实例的提供程序。A provider of Microsoft.Extensions.Logging.AzureAppServices.Internal.BatchingLogger instances.
public ref class BatchingLoggerProvider abstract : IDisposable, Microsoft::Extensions::Logging::ILoggerProvider, Microsoft::Extensions::Logging::ISupportExternalScope
public abstract class BatchingLoggerProvider : IDisposable, Microsoft.Extensions.Logging.ILoggerProvider, Microsoft.Extensions.Logging.ISupportExternalScope
type BatchingLoggerProvider = class
interface ILoggerProvider
interface IDisposable
interface ISupportExternalScope
Public MustInherit Class BatchingLoggerProvider
Implements IDisposable, ILoggerProvider, ISupportExternalScope
- 继承
-
BatchingLoggerProvider
- 派生
- 实现
属性
| IsEnabled |
检查是否已启用队列。Checks if the queue is enabled. |
方法
| CreateLogger(String) |
创建具有给定 |
| Dispose() |
执行与释放或重置非托管资源关联的应用程序定义的任务。Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
| 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) |
| IntervalAsync(TimeSpan, CancellationToken) | |
| MemberwiseClone() |
创建当前 Object 的浅表副本。Creates a shallow copy of the current Object. (继承自 Object) |
| ToString() |
返回表示当前对象的字符串。Returns a string that represents the current object. (继承自 Object) |
显式接口实现
| ISupportExternalScope.SetScopeProvider(IExternalScopeProvider) |
设置此提供程序的作用域。Sets the scope on this provider. |