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