# RotatingLogPolicyCompressor.GetCompressedFileName

Kind: Method  
Namespace: `Sisk.Core.Http`  
Assembly: `Sisk.Core.dll`  
Source: https://docs.sisk-framework.org/api/Sisk.Core.Http.RotatingLogPolicyCompressor.GetCompressedFileName.html

## GetCompressedFileName(string) {#Sisk_Core_Http_RotatingLogPolicyCompressor_GetCompressedFileName_System_String_}

Gets the compressed file name based on the provided pre-formatted name.

```csharp
public abstract string GetCompressedFileName(string preFormattedName)
```

### Parameters

`preFormattedName` [string](https://learn.microsoft.com/dotnet/api/system.string)

The pre-formatted name of the log file.

### Returns

[string](https://learn.microsoft.com/dotnet/api/system.string)

The compressed file name.
