mirror of
https://github.com/sphildreth/roadie
synced 2024-11-25 21:50:22 +00:00
17 lines
No EOL
449 B
C#
17 lines
No EOL
449 B
C#
using Microsoft.Extensions.Logging;
|
|
using System;
|
|
|
|
namespace Roadie.Library.Processors
|
|
{
|
|
public interface IEventMessageLogger
|
|
{
|
|
event EventHandler<EventMessage> Messages;
|
|
|
|
IDisposable BeginScope<TState>(TState state);
|
|
|
|
bool IsEnabled(LogLevel logLevel);
|
|
|
|
void Log<TState>(LogLevel logLevel, EventId eventId, TState state, Exception exception,
|
|
Func<TState, Exception, string> formatter);
|
|
}
|
|
} |