This repository has been archived by the owner on Jun 10, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
36 additions
and
45 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
38 changes: 0 additions & 38 deletions
38
...plicationInsights.AspNetCore/Logging/Implementation/ApplicationInsightsLoggerCallbacks.cs
This file was deleted.
Oops, something went wrong.
23 changes: 23 additions & 0 deletions
23
....ApplicationInsights.AspNetCore/Logging/Implementation/ApplicationInsightsLoggerEvents.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,23 @@ | ||
namespace Microsoft.ApplicationInsights.AspNetCore.Logging | ||
{ | ||
using System; | ||
|
||
/// <summary> | ||
/// Class to provide ApplicationInsights logger events | ||
/// </summary> | ||
internal class ApplicationInsightsLoggerEvents | ||
{ | ||
/// <summary> | ||
/// Event that is fired when new ApplicationInsights logger is added. | ||
/// </summary> | ||
public event Action LoggerAdded; | ||
|
||
/// <summary> | ||
/// Invokes LoggerAdded event. | ||
/// </summary> | ||
public void OnLoggerAdded() | ||
{ | ||
LoggerAdded?.Invoke(); | ||
} | ||
} | ||
} |
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