static void AddProperties(LoggingEvent loggingEvent, logEvent logEvent) { loggingEvent.Properties().Union(AppenderPropertiesFor(loggingEvent)). Do(pair => logEvent.properties.Add(pair)); }