-
Notifications
You must be signed in to change notification settings - Fork 2
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
feat: KLogContext #5
Conversation
… if the class name stays matches with the expect
…ogger into feat/initial-setup
@Suppress("NO_ACTUAL_CLASS_MEMBER_FOR_EXPECTED_CLASS") | ||
public actual typealias KLogContext<LOGGER, API> = LogContext<LOGGER, API> | ||
|
||
@Suppress("NO_ACTUAL_CLASS_MEMBER_FOR_EXPECTED_CLASS") |
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.
What error is this suppressing? Which member is missing? Could you include a comment about why this needs to be suppressed as well
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.
The first suppress is for 'errors' regarding the protected visibility: https://youtrack.jetbrains.com/issue/KT-19848
The second suppress is for companion objects - java statics vs companion object is marked as an error.
Both will work if you suppress them
Add KLogContext to the shared code.
Classes that were not included in this PR
They are tagged as TODO otherwise they will blow up this PR as they also depend on other classes that need to be commonized as well. I will open PRs for those later