namespace Divergic.Logging.Xunit
{
using System;
using System.Collections.Generic;
using Microsoft.Extensions.Logging;
///
/// The
/// interface defines the members for recording and accessing log entries.
///
public interface ICacheLogger : ILogger, IDisposable
{
///
/// Gets the number of cache entries recorded.
///
int Count { get; }
///
/// Gets the recorded cache entries.
///
IReadOnlyCollection Entries { get; }
///
/// Gets the latest cache entry.
///
LogEntry? Last { get; }
}
}