public void PropertiesCanBeBound() { var log = new LoggerConfiguration() .CreateLogger(); Assert.True(log.BindProperty("Name", "World", false, out var property)); Assert.Equal("Name", property.Name); Assert.Equal("World", property.Value.LiteralValue()); }
public void PropertiesCanBeBound() { var log = new LoggerConfiguration() .CreateLogger(); LogEventProperty property; Assert.True(log.BindProperty("Name", "World", false, out property)); Assert.Equal("Name", property.Name); Assert.Equal("World", property.Value.LiteralValue()); }