CommonTests.Framework.TestRunner.WriteToOutput C# (CSharp) Method

WriteToOutput() public method

public WriteToOutput ( string format, LogLevel level ) : void
format string
level LogLevel
return void
        public void WriteToOutput(string format, LogLevel level, params object[] args)
        {
            var message = string.Format(format, args);
            Debug.WriteLine("TestRunner >> {0}", message);
            LogWriter.WriteLine("TestRunner >> {0}", message);

            if (this.LogMode == LogLevel.Verbose)
            {
                this.WriteLine(message);    
            }
            else if ((this.LogMode & level) != LogLevel.None)
            {
                this.WriteLine(message);  
            }
        }