mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
28 lines
773 B
C#
28 lines
773 B
C#
namespace Divergic.Logging.Xunit
|
|
{
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using Microsoft.Extensions.Logging;
|
|
|
|
/// <summary>
|
|
/// The <see cref="ICacheLogger" />
|
|
/// interface defines the members for recording and accessing log entries.
|
|
/// </summary>
|
|
public interface ICacheLogger : ILogger, IDisposable
|
|
{
|
|
/// <summary>
|
|
/// Gets the number of cache entries recorded.
|
|
/// </summary>
|
|
int Count { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the recorded cache entries.
|
|
/// </summary>
|
|
IReadOnlyCollection<LogEntry> Entries { get; }
|
|
|
|
/// <summary>
|
|
/// Gets the latest cache entry.
|
|
/// </summary>
|
|
LogEntry? Last { get; }
|
|
}
|
|
} |