Class UnityConsoleLogInstaller
Unity-specific installer for console logging module within the dependency injection foundation.
Extends LogInstaller to provide Unity Console logging service installation with proper
Unity settings integration, factory registration, and service locator configuration.
Handles Unity-specific logging configuration including console output settings and
rich text formatting capabilities.
Namespace: Serenity.Logging.Installation.Installers
Assembly: Serenity.UnityGlobal.Installation.dll
Syntax
public class UnityConsoleLogInstaller : LogInstaller, IFoundationInstaller, IInstaller
Constructors
UnityConsoleLogInstaller()
Declaration
public UnityConsoleLogInstaller()
Methods
Install(LoggingInstallerInstallInput)
Installs Unity console logging service with settings resolution and factory configuration.
Resolves UnityConsoleLogSettings from input or loads from addressable assets,
creates service factory, and instantiates the console logging service with proper
Unity integration and configuration.
Declaration
public override void Install(LoggingInstallerInstallInput input)
Parameters
| Type | Name | Description |
|---|---|---|
| LoggingInstallerInstallInput | input | Logging installer input containing settings and configuration, optionally as UnityConsoleLogInstallerInstallInput with pre-loaded settings |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | Thrown when input is null or settings cannot be resolved |