예제 #1
0
 /// <summary>
 /// 初始化一个<see cref="LoggingConfig"/>类型的实例
 /// </summary>
 /// <param name="element">日志配置节点</param>
 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();
 }