Skip to content

Conversation

@jonathanpenn
Copy link
Contributor

We'd like to rethink the preview info request types and payloads over time. But in the short term we need to get information about failed preview info requests in previews diagnostics we gather.

}

#if canImport(Darwin) && canImport(os.log)
let previewsLogger = Logger(subsystem: "com.apple.dt.Previews", category: "swift-build")
Copy link
Collaborator

Choose a reason for hiding this comment

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

How about subsystem=org.swiftlang.swift-build, category=preview-info?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We need to match the existing subsystem that is used by our public logging profile to selectively un-redact when we need deeper diagnostics.

…722419)

We'd like to rethink the preview info request types and payloads over time. But in the short term we need to get information about failed preview info requests in previews diagnostics we gather.
@jonathanpenn jonathanpenn force-pushed the dev/jpenn/add-preview-info-logging branch from 01fc40d to 49f2a91 Compare December 18, 2025 15:53
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