add logger accessor in plugin
Merge branch 'plugin-logger'