public void LoggingEventUserNameIsAddedToUserCustomData() { LoggingEventAssert.When(l => l.UserName = "******") .Property(l => l.UserName) .ShouldMapTo(UserCustomDataBuilder.UserCustomDataKey.UserName); }
public void LoggingEventLevelIsAddedToUserCustomData() { LoggingEventAssert.When(l => l.Level = Level.Debug) .Property(l => l.Level.Name) .ShouldMapTo(UserCustomDataBuilder.UserCustomDataKey.Level); }
public void LoggingEventIdentityIsAddedToUserCustomData() { LoggingEventAssert.When(l => l.Identity = "TestIdentity") .Property(l => l.Identity) .ShouldMapTo(UserCustomDataBuilder.UserCustomDataKey.Identity); }
public void LoggingEventDomainIsAddedToUserCustomData() { LoggingEventAssert.When(l => l.Domain = "TestDomain") .Property(l => l.Domain) .ShouldMapTo(UserCustomDataBuilder.UserCustomDataKey.Domain); }