FileLoggerProvider Class

Definition

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
FileLoggerProvider
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