FileLoggerProvider 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.
The logger provider that creates instances of Logger.
public ref class FileLoggerProvider
public ref class FileLoggerProvider : Microsoft::Extensions::Logging::AzureAppServices::Internal::BatchingLoggerProvider
public class FileLoggerProvider
[Microsoft.Extensions.Logging.ProviderAlias("AzureAppServicesFile")]
public class FileLoggerProvider : Microsoft.Extensions.Logging.AzureAppServices.Internal.BatchingLoggerProvider
type FileLoggerProvider = class
[<Microsoft.Extensions.Logging.ProviderAlias("AzureAppServicesFile")>]
type FileLoggerProvider = class
inherit BatchingLoggerProvider
Public Class FileLoggerProvider
Public Class FileLoggerProvider
Inherits BatchingLoggerProvider
- Inheritance
-
FileLoggerProvider
- Inheritance
- Attributes
Remarks
This API supports the .NET infrastructure and is not intended to be used directly from your code.
Constructors
FileLoggerProvider(Int32, Int32, Int32, String, Nullable<TimeSpan>) |
Creates a new instance of the FileLoggerProvider class. |
FileLoggerProvider(IOptionsMonitor<AzureFileLoggerOptions>) |
This API supports the .NET infrastructure and is not intended to be used directly from your code. |
Properties
IsEnabled | (Inherited from BatchingLoggerProvider) |
Methods
ConfigureLogger(IWebAppLogConfigurationReader) |
This API supports the .NET infrastructure and is not intended to be used directly from your code. |
CreateLogger(String) |
Creates a new ILogger instance. (Inherited from BatchingLoggerProvider) |
Dispose() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from BatchingLoggerProvider) |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetGrouping(LogMessage) |
This API supports the .NET infrastructure and is not intended to be used directly from your code. |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
IntervalAsync(TimeSpan, CancellationToken) | (Inherited from BatchingLoggerProvider) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
RollFiles() |
This API supports the .NET infrastructure and is not intended to be used directly from your code. |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |
WriteMessagesAsync(IEnumerable<LogMessage>, CancellationToken) |
This API supports the .NET infrastructure and is not intended to be used directly from your code. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for