Beispiel #1
0
        /// <summary>
        /// Errをレポートする。
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="err"></param>
        public static void ErrReport(RawlerBase sender, string err)
        {
            ReportEvnetArgs args;

            if (sender != null)
            {
                args = new ReportEvnetArgs(sender, GetTopComment(sender) + "ERR:" + sender.GetType().Name + ":" + err, true, true);
            }
            else
            {
                args = new ReportEvnetArgs(sender, GetTopComment(sender) + "ERR:" + err, true, true);
            }
            AddReportEventArgs(sender, args);
            ErrReportEvent?.Invoke(sender, args);
        }