DEV Community

Discussion on: Logging pipeline with MediatR

Collapse
 
mrhussain0334 profile image
Hussain Murtaza

overall its good but we can modify it by ignoring some properties using reflection, like if a property is IFile or has length of plus 5KBytes, etc then we can ignore it from the json log, or use annotations. I know my solution isn't the very best but it still can work in a way or another. I also log in the db so yeah that works for me.