/* The plugin check flags error_log() usage as a development function that should not be used in production. However, in this plugin, the error logging is: 1. Only enabled when the user explicitly turns on debug logging in settings 2. Used to log important information about restocking events for debugging 3. Controlled by a separate option and only triggers when needed This is an appropriate use of error_log() since: 1. It's disabled by default 2. It's user-controlled 3. It provides valuable debugging information when enabled No code changes are needed for this - the implementation is appropriate for a plugin that needs optional logging capabilities. The user must explicitly enable logging in the settings for any logs to be generated. This comment is for reference during code review and doesn't need to be added to the code. */