Class UnityStructuredLogInstallationStepInput
What UnityStructuredLogInstallationStep installs from, and records its results in.
Inherited Members
Namespace: Serenity.StructuredLogging.Installation.Installers.Dto
Assembly: Serenity.UnityStructuredLogging.Installation.dll
Syntax
public class UnityStructuredLogInstallationStepInput
Remarks
The two collections belong to the composition root, which keeps them as the single source of truth for which instances installed and which ids they answer to. The step fills them rather than returning new ones so that a second pass adds to the same record instead of replacing it.
Constructors
UnityStructuredLogInstallationStepInput()
Declaration
public UnityStructuredLogInstallationStepInput()
Fields
ConfiguredSettings
The settings assets configured on the composition root, one per intended sink instance.
Declaration
public IReadOnlyList<UnityStructuredLogSettings> ConfiguredSettings
Field Value
| Type | Description |
|---|---|
| IReadOnlyList<UnityStructuredLogSettings> |
ConsoleLogService
The console sink, which reports every skipped or failed instance.
Declaration
public ILogService ConsoleLogService
Field Value
| Type | Description |
|---|---|
| ILogService |
InstalledInstallers
The installers of successfully installed instances, in install order.
Declaration
public List<UnityStructuredLogInstaller> InstalledInstallers
Field Value
| Type | Description |
|---|---|
| List<UnityStructuredLogInstaller> |
InstalledServicesById
The successfully installed services by instance id, for structured:{Id} routing.
Declaration
public IDictionary<string, ILogService> InstalledServicesById
Field Value
| Type | Description |
|---|---|
| IDictionary<string, ILogService> |