public override void WriteLine(string value)
        {
            // Write event log here!
            WriteEntry(value, EventLogEntryType.Information);

            if (Environment.UserInteractive)
            {
                DefaultOut.WriteLine(value);
            }
        }
예제 #2
0
        public override void WriteLine(string value)
        {
            // Write event log error here!
            WriteEntry(value, EventLogEntryType.Error);

            // Write to Console
            if (Environment.UserInteractive)
            {
                DefaultOut.WriteLine(value);
            }
        }