public static void Write(this IScriptConsole obj, ScriptSeverity severity, object message) { Guard.NotNull(obj, nameof(obj)); obj.Write(ScriptObservation.Create(severity, message)); }
public static void Write(this IScriptConsole obj, ScriptSeverity severity, Exception exception, string source, FormattableString message) { Guard.NotNull(obj, nameof(obj)); obj.Write(ScriptObservation.Create(severity, exception, source, message)); }