Class UnityStructuredLogServiceTests
PlayMode tests for UnityStructuredLogService: insert+trim retention, no
recursion on a failing store, IsEnabledFor filtering, and console mirroring.
Inherited Members
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()