mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-15 04:34:56 +00:00
Implement basic unit test infrastructure with abstraction patterns
Co-authored-by: ngenovese11 <23391587+ngenovese11@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
|
||||
namespace PepperDash.Essentials.Core.Tests.Abstractions
|
||||
{
|
||||
/// <summary>
|
||||
/// Abstraction for logging operations to enable testing
|
||||
/// </summary>
|
||||
public interface ILogger
|
||||
{
|
||||
/// <summary>
|
||||
/// Logs a debug message
|
||||
/// </summary>
|
||||
/// <param name="source">Source of the log message</param>
|
||||
/// <param name="message">Message to log</param>
|
||||
/// <param name="args">Format arguments</param>
|
||||
void LogDebug(object source, string message, params object[] args);
|
||||
|
||||
/// <summary>
|
||||
/// Logs a verbose message
|
||||
/// </summary>
|
||||
/// <param name="source">Source of the log message</param>
|
||||
/// <param name="message">Message to log</param>
|
||||
/// <param name="args">Format arguments</param>
|
||||
void LogVerbose(object source, string message, params object[] args);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user