Beispiel #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="CompositeLoggerTest"/> class.
        /// </summary>
        public CompositeLoggerTest()
        {
            Log = new CompositeLogger();

            var refs = References.FromTuples(
                DefaultLoggerFactory.ConsoleLoggerDescriptor, new ConsoleLogger(),
                DefaultLoggerFactory.DiagnosticsLoggerDescriptor, new DiagnosticsLogger(),
                DefaultLoggerFactory.CompositeLoggerDescriptor, Log
                );

            Log.SetReferences(refs);

            Fixture = new LoggerFixture(Log);
        }
 public DiagnosticsLoggerTest()
 {
     Log     = new DiagnosticsLogger();
     Fixture = new LoggerFixture(Log);
 }
 public ConsoleLoggerTest()
 {
     Log     = new ConsoleLogger();
     Fixture = new LoggerFixture(Log);
 }
 public NullLoggerTest()
 {
     Log     = new NullLogger();
     Fixture = new LoggerFixture(Log);
 }