Exemple #1
0
        public Logger(bool initializectr, bool usecurrentlogger)
        {
            if (initializectr)
            {
                CTRLogger ctr = new CTRLogger();
            }

            CheckConsole();

            singleinstance = this;
        }
Exemple #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;
        }