-
Notifications
You must be signed in to change notification settings - Fork 29
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
51 additions
and
4 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
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/Serilog.Sinks.Async/Sinks/Async/IAsyncLogEventSinkMonitor.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 @@ | ||
namespace Serilog.Sinks.Async | ||
{ | ||
/// <summary> | ||
/// Defines a mechanism for the Async Sink to provide buffer metadata to facilitate integration into system health checking. | ||
/// </summary> | ||
/// <remarks>If the instance implements <see cref="System.IDisposable"/>, it will be <c>Dispose()</c>d at then time the Sink is.</remarks> | ||
public interface IAsyncLogEventSinkMonitor | ||
{ | ||
/// <summary> | ||
/// Invoked by Sink to supply the buffer state hook to the monitor. | ||
/// </summary> | ||
/// <param name="state">The Async Sink's state information interface.</param> | ||
void MonitorState(IAsyncLogEventSinkState state); | ||
} | ||
} |
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