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