fix(logger-plugin): run `filter` function in injection context
#2236

arturovt wants to merge fix/logger-plugin-inject into master

We do not currently have an analysis of these two commits