create-logger
Installation
SKILL.md
Creating a Custom Logger
Step-by-step guide for building a logger that hooks into WordPress actions/filters and logs events to Simple History.
Architecture Overview
WordPress hook fires
-> Logger::loaded() registers callback
-> Callback builds context array
-> $this->info_message('message_key', $context)
-> Stored in DB with logger slug + message key
-> get_log_row_details_output() formats for display
Step 1: Create the Logger Class
Create a PHP file in loggers/ following the naming convention class-{name}-logger.php.