# FileLoggingOutput Constructors

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.logging.fileloggingoutput/)

## FileLoggingOutput(string) {#constructor-string-b32d2df7}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.logging.fileloggingoutput/constructors/constructor-string-b32d2df7/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.TestingHost/Logging/FileLogger.cs#L19-L54)

```csharp
public FileLoggingOutput(string fileName)
```

Initializes a new instance of the [FileLoggingOutput](/orleans/docs/api/csharp/microsoft.orleans.testinghost/orleans.testinghost.logging.fileloggingoutput/) class.

### Parameters

- `fileName` (`string`): Name of the log file.
