14 lines
469 B
C#
14 lines
469 B
C#
|
|
namespace Books.Api.Logging;
|
||
|
|
|
||
|
|
public static class ServiceCollectionExtensions
|
||
|
|
{
|
||
|
|
public static IServiceCollection DecorateAsyncEventHandlersWithLogging(this IServiceCollection services)
|
||
|
|
{
|
||
|
|
// Decoration will be set up once we have event handlers registered
|
||
|
|
// The SubscribeAsynchronousToDecorator wraps handlers with logging
|
||
|
|
// This is a placeholder for now - implement when we have actual event handlers
|
||
|
|
|
||
|
|
return services;
|
||
|
|
}
|
||
|
|
}
|