Skip to content

Conversation

@P09s
Copy link

@P09s P09s commented Jan 11, 2026

Closes #30

This PR adds comprehensive documentation for the existing ZeroLogger integration in Espresso, including:

  • How the logger is initialized and injected across components
  • Structured JSON log format with standard fields
  • Explanation of log levels (DEBUG, INFO, WARN, ERROR)
  • How to view logs in development, staging, and production environments
  • Important logging best practices (avoid sensitive data, prefer structured fields, use business events, etc.)
  • Practical example of adding new logs in Go code
  • Notes about testing/validating log output in feature tests

These additions will significantly improve:

  • Developer onboarding experience
  • Observability understanding
  • Consistency of logging across the codebase
  • Long-term maintainability

No code changes — purely documentation improvement.

Thanks for reviewing! ☕

Added detailed logging documentation for Espresso, covering logger integration, log format, log levels, viewing logs in different environments, best practices, adding new logs, and testing log output.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add documentation for existing Zero Logger integration and feature-level logging tests

1 participant