refactoring incoming and outgoing logging to middleware
Merge pull request #8 from mateodelnorte/feature/refactor-to-provider-pattern

refactoring incoming and outgoing logging to middleware