I've created a custom filter for my MVC application, [LogAttribute]
. Action methods are decorated with this and it has the responsibility to create a LogEntry
object to pass into some type of provider - ILoggerProvider
.
My question is, where should ILoggerProvider
and it's implementations sit (I'll be wanting to use a DI technology on it)? Should they go in the domain model, the UI project or a separate class?