logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityStructuredLogServiceTests

    PlayMode tests for UnityStructuredLogService: insert+trim retention, no recursion on a failing store, IsEnabledFor filtering, and console mirroring.

    Inheritance
    object
    UnityStructuredLogServiceTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.UnityStructuredLogging.Tests.Infrastructure
    Assembly: Tests.dll
    Syntax
    public class UnityStructuredLogServiceTests

    Constructors

    UnityStructuredLogServiceTests()

    Declaration
    public UnityStructuredLogServiceTests()

    Methods

    SetUp()

    Declaration
    public void SetUp()

    TearDown()

    Declaration
    public void TearDown()

    WriteLog_BelowConfiguredVerbosity_DoesNotInsert()

    Declaration
    public void WriteLog_BelowConfiguredVerbosity_DoesNotInsert()

    WriteLog_InsertsRecordIntoStore()

    Declaration
    public void WriteLog_InsertsRecordIntoStore()

    WriteLog_MirrorToConsoleDisabled_DoesNotEchoToConsole()

    Declaration
    public void WriteLog_MirrorToConsoleDisabled_DoesNotEchoToConsole()

    WriteLog_MirrorToConsoleEnabled_EchoesFormattedMessage()

    Declaration
    public void WriteLog_MirrorToConsoleEnabled_EchoesFormattedMessage()

    WriteLog_OwnCategory_IsNeverPersisted()

    Declaration
    public void WriteLog_OwnCategory_IsNeverPersisted()

    WriteLog_StampsSessionIdAndConfiguredBuildVersion()

    Declaration
    public void WriteLog_StampsSessionIdAndConfiguredBuildVersion()

    WriteLog_ThrowingStore_DoesNotThrowAndLogsErrorInstead()

    Declaration
    public void WriteLog_ThrowingStore_DoesNotThrowAndLogsErrorInstead()

    WriteLog_TrimOnEveryInsertDisabled_KeepsEveryRecord()

    Declaration
    public void WriteLog_TrimOnEveryInsertDisabled_KeepsEveryRecord()

    WriteLog_TrimOnEveryInsert_KeepsOnlyNewestMaxRecords()

    Declaration
    public void WriteLog_TrimOnEveryInsert_KeepsOnlyNewestMaxRecords()

    WriteLog_TwoEntriesOnTheSameTick_TrimKeepsTheLaterWrite()

    Declaration
    public void WriteLog_TwoEntriesOnTheSameTick_TrimKeepsTheLaterWrite()
    In this article
    © 2026 Serenity. All Rights Reserved