private void LogMessage(SlackLoggingData message)
 {
     using (JsConfig.With(propertyConvention: PropertyConvention.Lenient,
                          emitLowercaseUnderscoreNames: true,
                          emitCamelCaseNames: false))
     {
         incomingWebHookUrl.PostJsonToUrlAsync(message);
     }
 }
Esempio n. 2
0
 private void LogMessage(SlackLoggingData message)
 {
     using (JsConfig.With(propertyConvention: PropertyConvention.Lenient,
         emitLowercaseUnderscoreNames: true,
         emitCamelCaseNames: false))
     {
         incomingWebHookUrl.PostJsonToUrlAsync(message);
     }
 }