logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.StructuredLogging.Infrastructure.Services

    Classes

    UnityStructuredLogService

    Unity-specific structured logging service that extends UnityLogService with persistence into a queryable IStructuredStore backend.
    Writes each log entry as a StructuredRecord, optionally trimming the configured stream to its newest N records after every insert. A failed write never escapes and never re-enters ILogService — it is reported via UnityEngine.Debug.LogError(System.Object) directly, so a down Http/Mongo backend cannot recurse into this same sink.

    In this article
    © 2026 Serenity. All Rights Reserved