# FileLoggerProvider

Package: [Microsoft.Orleans.TestingHost](/orleans/docs/api/csharp/microsoft.orleans.testinghost/) 10.0.0

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.TestingHost) | [Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.TestingHost/Logging/FileLoggerProvider.cs#L9)

```csharp
public class FileLoggerProvider : ILoggerProvider, IDisposable
```

`Microsoft.Extensions.Logging.ILoggerProvider` which outputs to a log file.

## Constructors

- [FileLoggerProvider(string)](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.logging.fileloggerprovider/constructors/constructor-string-637e0751/)

## Methods

- [CreateLogger(string)](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.logging.fileloggerprovider/methods/createlogger-string-0a804157/)
- [Dispose](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.logging.fileloggerprovider/methods/dispose-669aed39/)
