protected static void AddVerificationLogPlugin(PipelineBatch pipelineBatch)
        {
            VerificationLogSettings newPlugin = new VerificationLogSettings()
            {
                SaveJson            = false,
                VerificationEnabled = false,
                VerificationLog     = null
            };

            pipelineBatch.AddPlugin(newPlugin);
        }
예제 #2
0
 public BatchSettings()
 {
     TelemetryEnabled = false;
     IsIncludeStackTraceForExceptions = true;
     SupportedModes = new List <string>();
     LogLevels      = new List <LogLevel>
     {
         LogLevel.Debug,
         LogLevel.Error,
         LogLevel.Fatal,
         LogLevel.Info,
         LogLevel.Warn
     };
     VerificationLogSettings = new VerificationLogSettings
     {
         SaveJson            = false,
         VerificationEnabled = false,
         VerificationLog     = null
     };
 }