-
Notifications
You must be signed in to change notification settings - Fork 301
Expose Log.log for RN testing #3475
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
base: master
Are you sure you want to change the base?
Conversation
|
will port to 4.0 once merged |
pasin
left a comment
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 think we should do .log() instead of ._log() as it is also used by our own code. The _getRevisionHistory() is a bit different as we don’t actually used it at all, but when looking at at now, it’s not necessarily to do _ as we have clearly said that it’s unsupported.
Swift/Log.swift
Outdated
| /// Writes a log message to all the enabled log sinks. | ||
| internal static func log(domain: LogDomain, level: LogLevel, message: String) { | ||
| /// - Note: `Unsupported API` Internal used for testing purpose. | ||
| static func log(domain: LogDomain, level: LogLevel, message: String) { |
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.
need to make public as well.
https://jira.issues.couchbase.com/browse/CBL-7613