AzureEventSourceLogForwarder 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.
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
AzureEventSourceLogForwarder(ILoggerFactory) |
Initializes a new instance of AzureComponentFactory using a provided ILoggerFactory. |
Methods
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