示例#1
0
 public void AddStringAppender(IStringAppender stringAppender)
 {
     lock (m_lockObject)
     {
         var lst = m_stringAppenders.ToList();
         lst.Add(stringAppender);
         m_stringAppenders = lst.ToArray();
     }
 }
 private void AddLine(IStringAppender line)
 {
     _parent.Add(line);
 }
示例#3
0
 public Logger(IStringAppender appender)
 {
     Appender = appender;
 }