Add processor support to the Logger options.
Merge pull request #5871 from icywolfy/logprovider

Add processor support to the Logger options.
[#5871] Formatting fixes for readability

- Promoted a conditional body so that it becomes the function body
- Made array configuration in a test more readable
- Eliminated redundant whitespace
Merge branch 'hotfix/5871'

Close #5871