> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Constructor OnFileDeleteFailureLogger

Namespace: [Phoenix.ComponentClient](https://developer.synopsys.com/docs/modelcenter/component-plug-in-sdk/2026-r1/apidocs/Phoenix.ComponentClient)\
Assembly: Phoenix.ComponentClient.dll

## OnFileDeleteFailureLogger(ILogger\<FileDeleter>)

Creates a new instance and sets up `Phoenix.DotNetUtils.FileDeleter.OnFileDeleteFailure`.

```csharp theme={null}
public OnFileDeleteFailureLogger(ILogger<FileDeleter> logger)

```

### Parameters

`logger` [ILogger](https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger-1)\<FileDeleter>

The logger to log to. Must not be null

### Remarks

Usually you do not directly call this constructor, instead calling
`Phoenix.ComponentClient.OnFileDeleteFailureLogger.ConfigureServiceCollection(Microsoft.Extensions.DependencyInjection.IServiceCollection)`
