-
Notifications
You must be signed in to change notification settings - Fork 66
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
refactor: Port MPILogger to Swift #295
refactor: Port MPILogger to Swift #295
Conversation
// Custom Logger is marked as nonnull despite the fact that we expect it to be null if not set by the client | ||
// if let customLogger = MParticle.sharedInstance().customLogger { | ||
// customLogger(msg) | ||
// } else |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// Custom Logger is marked as nonnull despite the fact that we expect it to be null if not set by the client | |
// if let customLogger = MParticle.sharedInstance().customLogger { | |
// customLogger(msg) | |
// } else |
I assume this was meant to be deleted?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no I wanted to leave this here to make sure we understood this is kinda a todo once we fully convert to Swift
Addressed comments ready for a new look @einsteinx2 |
574f54e
to
2e9bb13
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed nullability in public interface per my request. LGTM
🎉 This PR is included in version 8.27.2 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Summary
Testing Plan
Reference Issue (For mParticle employees only. Ignore if you are an outside contributor)