public static void Header1(this IPackageLog log, string format, params object[] parameters) { var text = format.ToFormat(parameters); var line = "".PadRight(text.Length, '-'); log.Write(ConsoleColor.White, line); log.Header2(format, parameters); log.Write(ConsoleColor.White, line); }