diff options
Diffstat (limited to 'mcs/class/System/System.Diagnostics/TraceImpl.cs')
-rw-r--r-- | mcs/class/System/System.Diagnostics/TraceImpl.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mcs/class/System/System.Diagnostics/TraceImpl.cs b/mcs/class/System/System.Diagnostics/TraceImpl.cs index 79904212eec..f719c37d95e 100644 --- a/mcs/class/System/System.Diagnostics/TraceImpl.cs +++ b/mcs/class/System/System.Diagnostics/TraceImpl.cs @@ -47,15 +47,16 @@ namespace System.Diagnostics { #pragma warning restore //public int IndentLevel; public int IndentSize = 4; - public TraceListenerCollection Listeners = new TraceListenerCollection (false); + public TraceListenerCollection Listeners = new TraceListenerCollection (); public TraceImplSettings () { - Listeners.Add (new DefaultTraceListener (), this); + Listeners.Add (new DefaultTraceListener () { IndentSize = this.IndentSize }); } } #endif +/* static class TraceImpl { #if !MOBILE @@ -413,5 +414,6 @@ namespace System.Diagnostics { WriteLine (message, category); } } +*/ } |