Interface IInstalledLogServices
The log services a composition root has installed, as InstallationLogRouter needs to see them: live, because routing runs while installation is still adding sinks.
Namespace: Serenity.Installation.Logging
Assembly: Serenity.Installation.dll
Syntax
public interface IInstalledLogServices
Properties
ConsoleLogInstaller
The console log installer, or null before it runs.
Declaration
LogInstaller ConsoleLogInstaller { get; }
Property Value
| Type | Description |
|---|---|
| LogInstaller |
FileLogInstaller
The file log installer, or null before it runs or on a platform that skips it.
Declaration
LogInstaller FileLogInstaller { get; }
Property Value
| Type | Description |
|---|---|
| LogInstaller |
LogProfile
The profile naming which logger each installer routes to, or null when none is wired.
Declaration
UnityLogProfile LogProfile { get; }
Property Value
| Type | Description |
|---|---|
| UnityLogProfile |
StructuredLogInstallers
The structured sink installers, in install order.
Declaration
IReadOnlyList<UnityStructuredLogInstaller> StructuredLogInstallers { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<UnityStructuredLogInstaller> |
StructuredLogServicesById
The installed structured sink services by instance id, for structured:{Id} routing.
Declaration
IReadOnlyDictionary<string, ILogService> StructuredLogServicesById { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyDictionary<string, ILogService> |