private void xlog_LoggingNotice(object sender, Logging.LoggingNoticeEventArgs e) { if (xcons != null) { xcons.PrintLine(e.DateTimeProcess.Substring(8) + "| " + e.Message); } }
void log_LoggingNotice(object sender, Logging.LoggingNoticeEventArgs e) { // コンソールにログを追加 if (txtLog.Text.Length > 0) { txtLog.PrintLine(""); } txtLog.Print(e.Message, txtLog.ForeColor); }