Assembly: Phoenix.ComponentClient.dll This class sets up a static handler for
Phoenix.DotNetUtils.FileDeleter.OnFileDeleteFailure
that prevents the exceptions from being thrown back to the application and instead
logs to a standard Microsoft.Extensions.Logging logger. It will remove itself as a handler
on dispose.
Inheritance
object ← AbstractDisposable ← OnFileDeleteFailureLoggerImplements
IDisposableInherited Members
AbstractDisposable.disposed, AbstractDisposable.Dispose(), AbstractDisposable.IsDisposed, AbstractDisposable.Dispose(bool), object.Equals(object), object.Equals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object, object), object.ToString()Remarks
Phoenix.ComponentClient.OnFileDeleteFailureLogger.ConfigureServiceCollection(Microsoft.Extensions.DependencyInjection.IServiceCollection) for a common pattern
of how to set this up in your application.
Constructors
OnFileDeleteFailureLogger(ILogger<FileDeleter>) Creates a new instance and sets upPhoenix.DotNetUtils.FileDeleter.OnFileDeleteFailure.