mirror of
https://github.com/sphildreth/roadie
synced 2024-11-26 22:20:21 +00:00
14 lines
No EOL
435 B
C#
14 lines
No EOL
435 B
C#
using System;
|
|
using Microsoft.Extensions.Logging;
|
|
|
|
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);
|
|
}
|
|
} |