Merge pull request #1198 from LukasKorba/1196-Check-logging-level-priorities
[#1196] Check logging level priorities
This commit is contained in:
commit
a9f927393f
|
@ -1,5 +1,9 @@
|
||||||
# Unreleased
|
# 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
|
### [#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
|
`Initializer` has now a new parameter called `generalStorageURL`. This URL is the location of the directory
|
||||||
|
|
|
@ -13,10 +13,10 @@ public class OSLogger: Logger {
|
||||||
|
|
||||||
public enum LogLevel: Int {
|
public enum LogLevel: Int {
|
||||||
case debug
|
case debug
|
||||||
case error
|
|
||||||
case warning
|
|
||||||
case event
|
|
||||||
case info
|
case info
|
||||||
|
case event
|
||||||
|
case warning
|
||||||
|
case error
|
||||||
}
|
}
|
||||||
|
|
||||||
public let oslog: OSLog?
|
public let oslog: OSLog?
|
||||||
|
|
Loading…
Reference in New Issue