Skip to content

Make Logging Utils Public #1408

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

Merged
merged 1 commit into from
Aug 14, 2025
Merged

Conversation

steve-the-edwards
Copy link
Contributor

We upstreamed these utils from internal repo, but they are still used there and we don't want to duplicate.

Copy link

@mannydelgado mannydelgado left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: small items.

@@ -9,7 +9,7 @@ import com.squareup.workflow1.WorkflowInterceptor.WorkflowSession
import kotlin.reflect.KClass
import kotlin.reflect.KType

internal fun WorkflowSession.toWfLoggingName(): String {
public fun WorkflowSession.toWfLoggingName(): String {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since these are public should we include some sort of kdoc or example of an expected output.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. Will do.

@@ -18,7 +18,7 @@ internal fun WorkflowSession.toWfLoggingName(): String {
}
}

internal fun WorkflowIdentifier.toWfLoggingName(): String {
public fun WorkflowIdentifier.toWfLoggingName(): String {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same.

@steve-the-edwards steve-the-edwards force-pushed the sedwards/update-logging-visibility branch from 500730b to f702c2c Compare August 14, 2025 13:14
@steve-the-edwards steve-the-edwards merged commit ce1afff into main Aug 14, 2025
72 checks passed
@steve-the-edwards steve-the-edwards deleted the sedwards/update-logging-visibility branch August 14, 2025 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants