Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see>
 ///         <cref>VceSearchLog</cref>
 ///     </see>
 ///     class.
 /// </summary>
 public SyncLogger(ClientInfo clientProfile)
 {
     ClientProfile = clientProfile;
     Tasks         = new LogTasks();
     Fields        = new LogFields();
     Statistics    = new LogStatistics();
     Start();
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="LogTask"/> class.
 /// </summary>
 /// <param name="name">The name.</param>
 public LogTask(string name)
 {
     Name       = name;
     Messages   = new List <string>();
     SubTasks   = new LogTasks();
     Fields     = new LogFields();
     Exceptions = new List <Exception>();
     Start();
 }