示例#1
0
文件: Logger.cs 项目: dotnet/wpf-test
        public Logger(bool initializectr, bool usecurrentlogger)
        {
            if (initializectr)
            {
                CTRLogger ctr = new CTRLogger();
            }

            CheckConsole();

            singleinstance = this;
        }
示例#2
0
        /// <summary>
        /// Constructor for MSBuildStep Logger Wrapper class
        /// </summary>
        public CTRLogger()
        {
            // Harness.Current.Publish();

            log = TestLog.Current;
            if (log == null)
            {
                vctx = new VariationContext("CompilationContext");
                log  = new TestLog("MSBuildStep Log");
            }

            self = this;
        }