Depending on how the Logger is configured with R2EnableLog(withMinimumSeverityLevel:) it's possible to get into a situation where (for example) errors are not logged when min severity level is set to warning.
How to reproduce?
configure logger with R2EnableLog(withMinimumSeverityLevel: .warning)
trigger a log such as Logger.sharedInstance.log("msg", at: .error, file: "path", line: line)
Describe the bug
Depending on how the Logger is configured with
R2EnableLog(withMinimumSeverityLevel:)
it's possible to get into a situation where (for example) errors are not logged when min severity level is set towarning
.How to reproduce?
R2EnableLog(withMinimumSeverityLevel: .warning)
Logger.sharedInstance.log("msg", at: .error, file: "path", line: line)
Observe that the error is not logged.
Readium version
2.6.1
OS version
iOS 17
Testing device
iPhone 15
Environment
Additional context
No response