Class AzureAnalyticsProvider
public class AzureAnalyticsProvider : ILoggerProvider, IDisposable
- Inheritance
-
AzureAnalyticsProvider
- Implements
- Inherited Members
Constructors
AzureAnalyticsProvider(IHttpClientFactory, Func<string, LogLevel, bool>?, string, string, string, bool)
public AzureAnalyticsProvider(IHttpClientFactory httpClientFactory, Func<string, LogLevel, bool>? filter, string workspaceId, string key, string environmentName, bool throwExceptionsOnLogFailure)
Parameters
httpClientFactoryIHttpClientFactoryfilterFunc<string, LogLevel, bool>workspaceIdstringkeystringenvironmentNamestringthrowExceptionsOnLogFailurebool
Methods
CreateLogger(string)
Creates a new ILogger instance.
public ILogger CreateLogger(string categoryName)
Parameters
categoryNamestringThe category name for messages produced by the logger.
Returns
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()