Skip to content

Add logging functionality and update client initialization #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rammyblog
Copy link
Owner

No description provided.

- Introduced a new logger implementation in logger.go, adhering to the Logger interface.
- Updated the Client struct to use the new logger and modified the NewClient function to accept logging configuration.
- Enhanced request handling functions to include context-aware logging.
- Added indirect dependencies for go-faker and golang.org/x/text in go.mod and updated go.sum.
- Updated example main.go to demonstrate the new logging capabilities.
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.

1 participant