We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5413028 + 8305ac8 commit ccfbbd5Copy full SHA for ccfbbd5
swift-sdk/Internal/IterableLogging.swift
@@ -31,6 +31,8 @@ public class DefaultLogDelegate: IterableLogDelegate {
31
32
/// Will log everything
33
public class AllLogDelegate: IterableLogDelegate {
34
+ public init() {}
35
+
36
public func log(level: LogLevel = .info, message: String) {
37
let markedMessage = IterableLogUtil.markedMessage(level: level, message: message)
38
print(markedMessage)
@@ -39,7 +41,9 @@ public class AllLogDelegate: IterableLogDelegate {
39
41
40
42
/// Will log nothing
43
public class NoneLogDelegate: IterableLogDelegate {
- public func log(level: LogLevel = .info, message: String) {
44
45
46
+ public func log(level _: LogLevel = .info, message _: String) {
47
// Do nothing
48
}
49
0 commit comments