Closed ettore closed 4 months ago
This fixes issue https://github.com/readium/swift-toolkit/issues/390
The problem is that SeverityLevel rawValue is a String, and therefore comparing by rawValue will make level.rawValue >= minimumSeverityLevel.rawValue fail for errors if the minimumSeverityLevel is warning.
SeverityLevel
level.rawValue >= minimumSeverityLevel.rawValue
warning
This fixes issue https://github.com/readium/swift-toolkit/issues/390
The problem is that
SeverityLevel
rawValue is a String, and therefore comparing by rawValue will makelevel.rawValue >= minimumSeverityLevel.rawValue
fail for errors if the minimumSeverityLevel iswarning
.