File: System\Diagnostics\ConsoleTraceListener.cs | Web Access |
Project: src\src\libraries\System.Diagnostics.TextWriterTraceListener\src\System.Diagnostics.TextWriterTraceListener.csproj (System.Diagnostics.TextWriterTraceListener) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace System.Diagnostics { public class ConsoleTraceListener : TextWriterTraceListener { public ConsoleTraceListener() : base(Console.Out) { } public ConsoleTraceListener(bool useErrorStream) : base(useErrorStream ? Console.Error : Console.Out) { } // Nop since there are no resources to clean up. public override void Close() { } } } |