-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use distinct EventSource names for compiler and workspace layer events (
- Loading branch information
1 parent
ea13488
commit a1346ef
Showing
4 changed files
with
32 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
src/Compilers/Core/Portable/CodeAnalysisEventSource.Compiler.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// Licensed to the .NET Foundation under one or more agreements. | ||
// The .NET Foundation licenses this file to you under the MIT license. | ||
// See the LICENSE file in the project root for more information. | ||
|
||
using System; | ||
using System.Diagnostics.Tracing; | ||
|
||
namespace Microsoft.CodeAnalysis | ||
{ | ||
[EventSource(Name = "Microsoft-CodeAnalysis-General")] | ||
internal sealed partial class CodeAnalysisEventSource | ||
{ | ||
public static readonly CodeAnalysisEventSource Log = new CodeAnalysisEventSource(); | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
src/Workspaces/Core/Portable/Diagnostics/CodeAnalysisEventSource.Workspaces.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// Licensed to the .NET Foundation under one or more agreements. | ||
// The .NET Foundation licenses this file to you under the MIT license. | ||
// See the LICENSE file in the project root for more information. | ||
|
||
using System; | ||
using System.Diagnostics.Tracing; | ||
|
||
namespace Microsoft.CodeAnalysis | ||
{ | ||
[EventSource(Name = "Microsoft-CodeAnalysis-Workspaces")] | ||
internal sealed partial class CodeAnalysisEventSource | ||
{ | ||
public static readonly CodeAnalysisEventSource Log = new CodeAnalysisEventSource(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters