public Logger(bool initializectr, bool usecurrentlogger) { if (initializectr) { CTRLogger ctr = new CTRLogger(); } CheckConsole(); singleinstance = this; }
/// <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; }