Skip to content

Add Basic Event Logging #35

@jordanpartridge

Description

@jordanpartridge

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:

  1. Add logging config
  2. Create LoggingMiddleware
  3. Define log format
  4. Add to pipeline
  5. Document logging options

Helps with debugging and monitoring.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions