Making Debug and Trace behavior consistent with eachother and Desktop (dotnet/coreclr...
authorMaryam Ariyan <maryam.ariyan@microsoft.com>
Wed, 31 Oct 2018 21:32:19 +0000 (14:32 -0700)
committerGitHub <noreply@github.com>
Wed, 31 Oct 2018 21:32:19 +0000 (14:32 -0700)
commit636882d71c2a9837bbf59d11cde68b705fed963a
tree70008bc7dbc5f0ef865d32f87a2946d79816a3c8
parent3e080c8195428e9ddf7a1a6f797220c4377e33b7
Making Debug and Trace behavior consistent with eachother and Desktop (dotnet/coreclr#20581)

* Making Debug and Trace behavior more consistent with Desktop and eachother
* Syncs IndentLevel and IndentSize for Debug and Trace
* Completing DebugProvider APIs. Fixing Indentation bugs
* Make WriteCore public
* Make s_provider and s_indentSize volatile
* Applied PR feedbacks

Commit migrated from https://github.com/dotnet/coreclr/commit/ccf84fc34b83c3d3e6b2b378136b55dda5f9bdc8
src/coreclr/src/System.Private.CoreLib/src/System/Diagnostics/DebugProvider.Windows.cs
src/libraries/System.Private.CoreLib/src/System/Diagnostics/Debug.cs
src/libraries/System.Private.CoreLib/src/System/Diagnostics/DebugProvider.Unix.cs
src/libraries/System.Private.CoreLib/src/System/Diagnostics/DebugProvider.cs