swiftlang / swiftlang/swift-java
Consolidate how we do logging in plugins
Open
@ktoso is already working on this.
Since Jun 6, 2025.
good first issue
help wanted
- Dominant language
- Swift
- Stars
- 1.2k
- Forks
- 123
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 16
Description
The plugins are very messy in how they log, don't really have log levels and have different styles.
It also can be very useful to know where we log and if we're in a command plugin or swift-java in Swift or in Java or some other invocation since things get complex quickly.
Currently this is manually done through a mix of printlns and wannabe logging.
We should probably just adopt swift-log and also make a simple logger type for the Java side of the libary that logs in the same style.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.