Skip to content

Commit

Permalink
feat: Added IHasLoggedMessages (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
samtrion authored May 21, 2024
1 parent 2b3e21c commit 47c6026
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/NetEvolve.Logging.Abstractions/IHasLoggedMessages.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
namespace NetEvolve.Logging.Abstractions;

using System.Collections.Generic;

/// <summary>
/// Gives access to the logged messages.
/// </summary>
public interface IHasLoggedMessages
{
/// <summary>
/// Gets the logged messages, in the order they were logged.
/// </summary>
IReadOnlyList<LoggedMessage> LoggedMessages { get; }
}

0 comments on commit 47c6026

Please sign in to comment.