Rearranged some types in both the library and executable targets.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import ArgumentParser
|
||||
import Logging
|
||||
|
||||
/// Extend `Logger.Level` so it can be used as an argument
|
||||
#if hasFeature(RetroactiveAttribute)
|
||||
extension Logger.Level: @retroactive ExpressibleByArgument {}
|
||||
#else
|
||||
extension Logger.Level: ExpressibleByArgument {}
|
||||
#endif
|
||||
Reference in New Issue
Block a user