-
Notifications
You must be signed in to change notification settings - Fork 319
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
Logging v2 part 2 #399
Logging v2 part 2 #399
Conversation
RCWarnLog(@"allowSharingAppStoreAccount is set to false and restoreTransactions has been called. " | ||
"Are you sure you want to do this?"); |
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.
these feel more like warnings to me, but we didn't use to have a warn level
116a6db
to
edece08
Compare
@@ -51,7 +51,7 @@ extension ProductsManager: SKProductsRequestDelegate { | |||
|
|||
func productsRequest(_ request: SKProductsRequest, didReceive response: SKProductsResponse) { | |||
queue.async { [self] in | |||
NSLog("products request received response") | |||
Logger.info("products request received response") |
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.
Should this be debug?
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.
I'm honestly not sure which is best here. I was kind of torn because of stuff like #250. I might improve the message a bit so that it's more useful.
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.
I should also make it consistent with line 70, where I'm using debug, so that either they're both debug or both info
4dd534d
to
cd4ae58
Compare
Improved API for logging in Swift.
Added a few log entries to Swift code.
Requirements:
Based on Logging v2: part 1 #395