public override void WriteLine(string value) { // Write event log here! WriteEntry(value, EventLogEntryType.Information); if (Environment.UserInteractive) { DefaultOut.WriteLine(value); } }
public override void WriteLine(string value) { // Write event log error here! WriteEntry(value, EventLogEntryType.Error); // Write to Console if (Environment.UserInteractive) { DefaultOut.WriteLine(value); } }