Ejemplo n.º 1
0
 public static void CustomLogger(OutputType type, string output)
 {
     if (type == OutputType.Err &&
         (
             (output.StartsWith("Creating") || output.StartsWith("Starting") || output.StartsWith("Stopping") || output.StartsWith("Removing")) &&
             !output.EndsWith("failed")))
     {
         Logger.Info(output);
     }
     else
     {
         ProcessTasks.DefaultLogger(type, output);
     }
 }