Skip to content

Conversation

@ktoso
Copy link
Collaborator

@ktoso ktoso commented Nov 4, 2025

We had a lot of all-over-the-place logging which pretended to be loggers or just println + debug and info prefixes etc. This is getting out of hand and we should adopt a consistent logging mechanism.

The way to do this in Swift is swift-log, there's no reason anymore to reinvent the wheel about it. The dependency is small and likely to be present in most libs. Especially the source gen we need not be concnerned about using swift-log. Runtime does not have to use it.

This is just some initial steps, separated out from #397

We had a lot of all-over-the-place logging which pretended to be loggers
or just println + debug and info prefixes etc. This is getting out of
hand and we should adopt a consistent logging mechanism.

The way to do this in Swift is swift-log, there's no reason anymore to
reinvent the wheel about it. The dependency is small and likely to be
present in most libs. Especially the source gen we need not be
concnerned about using swift-log. Runtime does not have to use it.

This is just some initial steps, separated out from swiftlang#397
@ktoso ktoso force-pushed the add-swift-log-support branch from c77eb54 to f7c28ee Compare November 5, 2025 02:52
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.

1 participant