// ���b�Z�[�W�Ǝ�ނ�w�肵�āA���b�Z�[�W��lj����܂��B public void Add(string message, EcmErrorLevel level) { if(level < myMinimumErrorLevel) return; EcmLogItem eli = new EcmLogItem(message, level); Add(eli); }
// ���b�Z�[�W��lj����܂��B public void Add(EcmLogItem el) { if(el.Kind > myErrorLevel) myErrorLevel = el.Kind; myMessages.Add(el); }
public EcmLogItem(string s, EcmErrorLevel logKind) { myTime = DateTime.Now; myData = s; myLogKind = logKind; }