[#1196] Check logging level priorities

- the priorities for log levels have been updated

[#1196] Check logging level priorities

- changelog updated
This commit is contained in:
Lukas Korba 2023-08-10 08:51:46 +02:00
parent 23e87e8a33
commit 819b5f3106
2 changed files with 7 additions and 3 deletions

View File

@ -1,5 +1,9 @@
# Unreleased
### [#1196] Check logging level priorities
The levels for logging have been updated according to Log Levels in Swift. (https://www.swift.org/server/guides/libraries/log-levels.html).
There's one naming difference, instead of `notice` we use `event`. So the order is debug, info, event, warning, error.
### [#1111] Change how the sync progress is stored inside the SDK
`Initializer` has now a new parameter called `generalStorageURL`. This URL is the location of the directory

View File

@ -13,10 +13,10 @@ public class OSLogger: Logger {
public enum LogLevel: Int {
case debug
case error
case warning
case event
case info
case event
case warning
case error
}
public let oslog: OSLog?