-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing disposed channel after config refresh (#396)
- Loading branch information
1 parent
dfcdf93
commit 69a0822
Showing
3 changed files
with
30 additions
and
7 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
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,20 @@ | ||
// Licensed to Elasticsearch B.V under one or more agreements. | ||
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License. | ||
// See the LICENSE file in the project root for more information | ||
|
||
using Elastic.Channels; | ||
|
||
namespace Elastic.Extensions.Logging | ||
{ | ||
/// <summary> | ||
/// Instantiates and manages <see cref="IBufferedChannel{TEvent}"/> | ||
/// </summary> | ||
internal interface IChannelProvider | ||
{ | ||
/// <summary> | ||
/// Provides <see cref="IBufferedChannel{TEvent}"/> instance managed by provider | ||
/// </summary> | ||
/// <returns></returns> | ||
IBufferedChannel<LogEvent> GetChannel(); | ||
} | ||
} |