コード例 #1
0
 /// <summary>
 /// 初始化一个<see cref="LoggingConfig"/>类型的新实例
 /// </summary>
 internal LoggingConfig(LoggingElement element)
 {
     EntryConfig = new LoggingEntryConfig(element.LoggingEntry);
     //DataLoggingConfig = new DataLoggingConfig(element.DataLogging);
     BasicLoggingConfig = new BasicLoggingConfig(element.BasicLogging);
 }
コード例 #2
0
 /// <summary>
 /// 初始化一个<see cref="LoggingConfig"/>类型的新实例
 /// </summary>
 public LoggingConfig()
 {
     EntryConfig        = new LoggingEntryConfig();
     DataLoggingConfig  = new DataLoggingConfig();
     BasicLoggingConfig = new BasicLoggingConfig();
 }