private void Button_Click(object sender, RoutedEventArgs e) { var customLog = new CustomLog() { CustomProperty = "testing", CustomPropertyNumber = 3.14159, CustomPropertyBool = true }; batchingLogAgent.LogEntry(customLog); }