Exemplo n.º 1
0
Arquivo: Writer.cs Projeto: dm5wg/Yupi
 /// <summary>
 ///     Writes the line.
 /// </summary>
 /// <param name="line">The line.</param>
 /// <param name="colour">The colour.</param>
 internal static void WriteLine(string line, ConsoleColor colour = ConsoleColor.Yellow)
 => ConsoleOutputWriter.WriteLine(line, "Yupi.Exceptions", colour);
Exemplo n.º 2
0
Arquivo: Writer.cs Projeto: dm5wg/Yupi
 /// <summary>
 ///     Writes the line.
 /// </summary>
 /// <param name="format">The format.</param>
 /// <param name="header">The header.</param>
 /// <param name="color">The color.</param>
 public static void WriteLine(string format, string header, ConsoleColor color = ConsoleColor.White)
 => ConsoleOutputWriter.WriteLine(format, header, color);