public static void Log(ILogger logger) { Parallel.For(0, 6, x => logger.SaveToLog(x)); logger.PrintLog(); }