Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the DefaultAssertionHandler class.
 /// </summary>
 /// <param name="logger">Logger to use.</param>
 public DefaultAssertionHandler(Logger logger)
 {
     this.logger = logger;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the FilteringLogger class.
 /// </summary>
 /// <param name="underlyingLogger">The underlying logger.</param>
 /// <param name="minimumLevel">The minimum level of messages to be forwarded to the underlying logger.</param>
 public FilteringLogger(Logger underlyingLogger, LogLevel minimumLevel)
 {
     this.UnderlyingLogger = underlyingLogger;
     this.MinimumLevel = minimumLevel;
 }