Esempio n. 1
0
        private void LogThrottle(ApiRequestBase request, bool isTotalShutdown, string shutDownMessage)
        {
            int auditId = 0;

            auditId = this.InsertAudit(request.sAPIKey, request.iTradingPartnerID, request.sEmailAddress, name, auditId);

            _logger.SetAuditId(auditId);

            _logger.Error(name + " - " + (isTotalShutdown ? shutDownMessage : Message));
        }