logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.StructuredLogging.Installation.Installers

    Classes

    StructuredLogBackendFactory

    Resolves the IStructuredStore backend selected by the shared, consumer-agnostic UnityStructuredBackendDefinition asset assigned to Backend, dispatching on the asset's concrete type. Store construction lives in the shared StructuredBackendStores helper, parameterized by this factory's StructuredBackendConsumerProfile; this class keeps only the log sink's own dispatch, fallback target, and table resolution.

    StructuredLogSinkResolver

    Pure resolution rules for multi-instance structured log sinks, extracted from the composition root so they are unit-testable without booting: bare-key resolution (only unambiguous with exactly one installed instance), structured:{Id} instance keys (case-insensitive prefix, case-preserved Id), first-wins Id registration, and the strict empty-Id skip rule for multi-instance configurations.

    UnityStructuredLogInstallationStep

    Installs the structured log sinks, one instance per configured settings asset.

    UnityStructuredLogInstaller

    Unity-specific installer for the structured logging module within the dependency injection foundation. Extends LogInstaller to provide structured log sink installation with settings loading, backend resolution via StructuredLogBackendFactory, and service creation. Mirrors UnityFileLogInstaller's shape.

    In this article
    © 2026 Serenity. All Rights Reserved