/// <summary> /// Writes a debug message to the console, with the specified color formatting. /// </summary> /// <param name="obj">The object the message is originating from. Can be null.</param> /// <param name="foreground">The message foreground color.</param> /// <param name="background">The message background color.</param> /// <param name="message">The message to write to the console.</param> /// <param name="args">Optional arguments to use when formatting the message.</param> public static void WriteLine(object obj, Terminal.ColorCode foreground, Terminal.ColorCode background, string message, params object[] args) { WriteLine(obj, new ColorFormat(foreground, background), message, args); }
/// <summary> /// Writes a debug message to the console, with the specified color formatting. /// </summary> /// <param name="obj">The object the message is originating from. Can be null.</param> /// <param name="foreground">The message foreground color.</param> /// <param name="message">The message to write to the console.</param> /// <param name="args">Optional arguments to use when formatting the message.</param> public static void WriteLine(object obj, Terminal.ColorCode foreground, string message, params object[] args) { WriteLine(obj, foreground, Terminal.ColorCode.None, message, args); }