Check if plugin is enabled before printing to log