public static void WriteError(this IConsoleLineWriter writer, string message, string node) => writer?.Write(Error(node != null ? $"[{node}] {message}" : message));
public static void WriteDiagnostic(this IConsoleLineWriter writer, string message, string node) => writer?.Write(Info(node != null ? $"[{node}] {message}" : message));
public static void WriteError(this IConsoleLineWriter writer, string message) => writer.Write(Error(message));
public static void WriteDiagnostic(this IConsoleLineWriter writer, string message) => writer.Write(Info(message));