Skip to content
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

revisit logging system #55

Closed
pgautier404 opened this issue Nov 17, 2023 · 1 comment
Closed

revisit logging system #55

pgautier404 opened this issue Nov 17, 2023 · 1 comment
Assignees
Labels

Comments

@pgautier404
Copy link
Collaborator

Using a static log provider with a logger factory supplied by the clients isn't going to work in a multi-client environment (e.g., I construct a cache client to create a cache and a topic client to pubsub on it). We need to adjust the current logic to make sure clients don't clobber one another's logging. The python SDK looks like a good candidate for comparing approaches, as it also uses a static logger.

@anitarua
Copy link
Collaborator

anitarua commented Dec 4, 2023

Apple's Logger is for iOS 14+ but it seems like we might be able to use the swift-log library instead of writing our own custom LogProvider class as we had been doing. Currently investigating

@anitarua anitarua closed this as completed Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants