18 lines
396 B
C#
18 lines
396 B
C#
namespace JD.LogService
|
|
{
|
|
/// <summary>
|
|
/// An interface for classes that can receive messages, warnings or errors.
|
|
/// </summary>
|
|
public interface ILogger
|
|
{
|
|
#region Methods
|
|
|
|
/// <summary>
|
|
/// Logs an event.
|
|
/// </summary>
|
|
/// <param name="event">The event to log.</param>
|
|
void Log(LogEvent @event);
|
|
|
|
#endregion
|
|
}
|
|
}
|