Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
AzureEventSourceLogForwarder Class
Definition
- Namespace:
- Microsoft.Extensions.Azure
- Assembly:
- Microsoft.Extensions.Azure.dll
- Package:
- Microsoft.Extensions.Azure v1.14.0
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.
A type used to forward log messages from Azure SDK EventSource to ILoggerFactory.
public sealed class AzureEventSourceLogForwarder : IDisposable
type AzureEventSourceLogForwarder = class
interface IDisposable
Public NotInheritable Class AzureEventSourceLogForwarder
Implements IDisposable
- Inheritance
-
AzureEventSourceLogForwarder
- Implements
Constructors
| Name | Description |
|---|---|
| AzureEventSourceLogForwarder(ILoggerFactory) |
Initializes a new instance of AzureComponentFactory using a provided ILoggerFactory. |
Methods
| Name | Description |
|---|---|
| Dispose() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
| Start() |
Initiates the log forwarding from the Azure SDK event sources to a provided ILoggerFactory, call Dispose() to stop forwarding. |
Applies to
Azure SDK for .NET
Feedback
Was this page helpful?
