void WriteData(TraceEventType eventType, IList <LogEventProperty> properties, object data) { var level = LevelMapping.ToLogEventLevel(eventType); SafeAddProperty(properties, TraceDataProperty, data); Write(level, null, TraceDataMessageTemplate, properties); }
void Write(TraceEventType eventType, Exception exception, string messageTemplate, IList <LogEventProperty> properties) { var level = LevelMapping.ToLogEventLevel(eventType); Write(level, exception, messageTemplate, properties); }