Use tag concept instead of plugin when logging and default to calling class name when plugin can't be determined.
Make sure log messages are sanitized when outputted to the screen.