示例#1
0
 /// <summary>
 /// Initializes a new instance of <see cref="DefaultFactory" />.
 /// </summary>
 public DefaultFactory()
 {
     directory = new Lazy <string>(FindDefaultLoggingDirectory);
     level     = new Lazy <LogLevel>(() => LogLevelReader.GetDefaultLogLevel());
 }
 /// <summary>
 /// Initializes a new instance of <see cref="DefaultFactory"/>.
 /// </summary>
 public DefaultFactory()
 {
     directory = FindDefaultLoggingDirectory();
     level     = LogLevelReader.GetDefaultLogLevel();
 }