Class UnityFileLogInstaller
Unity-specific installer for file logging module within dependency injection foundation.
Extends LogInstaller to provide Unity file logging service installation with
settings loading, factory configuration, and dependency resolution. Handles
addressable asset loading for UnityFileLogSettings and integrates persistence
use cases with path services for file-based logging operations.
Namespace: Serenity.EventDispatcher.Installation.Installers
Assembly: Serenity.UnityFileLogging.Installation.dll
Syntax
public class UnityFileLogInstaller : LogInstaller, IFoundationInstaller, IInstaller
Constructors
UnityFileLogInstaller()
Declaration
public UnityFileLogInstaller()
Methods
Install(LoggingInstallerInstallInput)
Installs Unity file logging service with settings resolution and dependency configuration.
Validates input DTO, loads UnityFileLogSettings from addressable assets if not provided,
creates UnityFileLogServiceFactory, and instantiates file logging service with
persistence use cases and path service dependencies for file-based logging operations.
Declaration
public override void Install(LoggingInstallerInstallInput input)
Parameters
| Type | Name | Description |
|---|---|---|
| LoggingInstallerInstallInput | input | UnityFileLogInstallerInstallInput containing settings and dependencies |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | Thrown when input is null or settings cannot be found |