/// <summary> /// When posting the request to Rollbar, log it to the internal NLog log /// </summary> /// <param name="source"></param> /// <param name="args"></param> private static void RollbarClientRequestStarting(object source, RequestStartingEventArgs args) { var client = (RollbarClient)source; InternalLogger.Debug("Sending request to {0}: {1}", client.Configuration.Endpoint, args.Payload); }
private void RollbarClient_RequestStarting(object source, RequestStartingEventArgs args) { var client = (RollbarClient) source; LogLog.Debug(typeof(RollbarAppender), string.Format("Sending request to {0}: {1}", client.Configuration.Endpoint, args.Payload)); }