Add simple event logging for API interactions:
// In config/github-client.php
'logging' => [
'enabled' => true,
'channel' => 'github',
'level' => 'debug',
],
Events to log:
- API requests and responses
- Rate limit warnings
- Authentication issues
- Cache hits/misses
Implementation:
- Add logging config
- Create LoggingMiddleware
- Define log format
- Add to pipeline
- Document logging options
Helps with debugging and monitoring.
Add simple event logging for API interactions:
Events to log:
Implementation:
Helps with debugging and monitoring.