Nike-Inc / Willow

Willow is a powerful, yet lightweight logging library written in Swift.
MIT License
1.35k stars 80 forks source link

Swift 6 - Concurrency #75

Open james-ff opened 6 months ago

james-ff commented 6 months ago

Hello,

I've noticed that part of this library may require updating for the upcoming concurrency changes in Swift 6

After turning on strict concurrency checks I'm seeing the following error in my project for static properties of the LogLevel class:

Static property 'debug' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6

Relevant guide: