Create provider for logEx to make module more configurable