Added a log object inside the PluginBase class to simplify logging
inside plugins.