Add plugin interface for logging